Explorar o código

Fix setToControl action

wilitp %!s(int64=4) %!d(string=hai) anos
pai
achega
325e860d50
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 => ({
 export const setToControl = (to: string): Action => ({
-  type: "SET_FROM_CONTROL",
+  type: "SET_TO_CONTROL",
   to,
   to,
 });
 });