Explorar el Código

:pencil2: Removed unnecessary async call

tabs-content
tomit4 hace 3 años
padre
commit
8bf2db2777
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      frontend/src/utils/survey.js

+ 1
- 1
frontend/src/utils/survey.js Ver fichero

@@ -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…
Cancelar
Guardar