瀏覽代碼

add setMagicDict

visuddhinanda 3 年之前
父節點
當前提交
874afe9ccc
共有 1 個文件被更改,包括 1 次插入 和 0 次删除
  1. 1 0
      dashboard/src/components/template/SentEdit.tsx

+ 1 - 0
dashboard/src/components/template/SentEdit.tsx

@@ -99,6 +99,7 @@ export const SentEditInner = ({
         }}
         }}
         onMagicDictDone={() => {
         onMagicDictDone={() => {
           setMagicDictLoading(false);
           setMagicDictLoading(false);
+          setMagicDict(undefined);
         }}
         }}
       />
       />
       <SentTab
       <SentTab