瀏覽代碼

Fix setToControl action

wilitp 4 年之前
父節點
當前提交
325e860d50
共有 1 個文件被更改,包括 1 次插入1 次删除
  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,
 });