Browse Source

Fix setToControl action

wilitp 4 năm trước cách đây
mục cha
commit
325e860d50
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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,
 });