fix: 移除残留 pollingRef 引用
This commit is contained in:
parent
5f87f695fe
commit
786419419f
|
|
@ -65,9 +65,6 @@ export default function TemplateEditor() {
|
|||
|
||||
useEffect(() => {
|
||||
loadData();
|
||||
return () => {
|
||||
if (pollingRef.current) clearInterval(pollingRef.current);
|
||||
};
|
||||
}, [loadData]);
|
||||
|
||||
const handleSave = async () => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue