Przeglądaj źródła

add setMagicDict

visuddhinanda 2 lat temu
rodzic
commit
874afe9ccc
1 zmienionych plików z 1 dodań i 0 usunięć
  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={() => {
           setMagicDictLoading(false);
+          setMagicDict(undefined);
         }}
       />
       <SentTab