mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-28 05:46:36 +08:00
fix(frontend): 修复 useEffect 缺失依赖导致 code-check 失败
This commit is contained in:
@@ -272,7 +272,7 @@ export function PagesSourceCard({ projectId }: { projectId: number }) {
|
||||
}
|
||||
setActiveAction(null);
|
||||
setActionTimedOut(false);
|
||||
}, [activeAction, executionQuery.data, invalidateSourceState]);
|
||||
}, [activeAction, executionQuery.data, invalidateSourceState, t]);
|
||||
|
||||
const checkMutation = useMutation({
|
||||
mutationFn: () => PagesService.checkSource(projectId),
|
||||
|
||||
Reference in New Issue
Block a user