Просмотр исходного кода

:pencil2: Removed unnecessary async call

tabs-content
tomit4 3 лет назад
Родитель
Сommit
8bf2db2777
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      frontend/src/utils/survey.js

+ 1
- 1
frontend/src/utils/survey.js Просмотреть файл

@@ -6,7 +6,7 @@ class SurveyFactory {
6 6
     constructor() {
7 7
         this.questionsFromDb = []
8 8
     }
9
-    async _addResponses(responseKeys, possibleResponsesByCategory) {
9
+    _addResponses(responseKeys, possibleResponsesByCategory) {
10 10
         const validFormInputs = {}
11 11
         Object.keys(possibleResponsesByCategory).forEach(categoryKey => {
12 12
             if (possibleResponsesByCategory[categoryKey].length) {

Загрузка…
Отмена
Сохранить