Selaa lähdekoodia

:pencil2: Removed unnecessary async call

tags/0.0.3^2
tomit4 3 vuotta sitten
vanhempi
commit
c9dd5cffce
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      frontend/src/utils/survey.js

+ 1
- 1
frontend/src/utils/survey.js Näytä tiedosto

@@ -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) {

Loading…
Peruuta
Tallenna