fix: 导出word时文献不更新,因为usecallback没有添加变量

This commit is contained in:
liuweiqing 2024-02-15 18:30:44 +08:00
parent da5cb4fac8
commit 01d3ffebf7

View File

@ -60,7 +60,7 @@ const ExportDocx = ({ editor }: ParaIn) => {
quillToWordConfig
);
saveAs(docAsBlob, "word-export.docx");
}, [editor]);
}, [editor, references]);
return (
<ReduxProvider>