Skip to content

Commit f403217

Browse files
一个useEffect忘了加依赖了
1 parent 0743123 commit f403217

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/contestEditor/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ const ContestEditorImpl: FC<{
102102
return () => {
103103
mounted = false;
104104
};
105-
});
105+
}, []);
106106
const removeProblem = removeProblemCallback(
107107
modal,
108108
setPanel,

0 commit comments

Comments
 (0)