Pārlūkot izejas kodu

Fix setToControl action

wilitp 4 gadi atpakaļ
vecāks
revīzija
325e860d50
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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,
 });