Sfoglia il codice sorgente

Fix setToControl action

wilitp 4 anni fa
parent
commit
325e860d50
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/src/context/dashboard/actions.ts

+ 1 - 1
app/src/context/dashboard/actions.ts

@@ -11,7 +11,7 @@ export const setFromControl = (from: string): Action => ({
 });
 
 export const setToControl = (to: string): Action => ({
-  type: "SET_FROM_CONTROL",
+  type: "SET_TO_CONTROL",
   to,
 });