mirror of
https://github.com/wanderer-industries/wanderer
synced 2025-12-11 18:26:04 +00:00
fix: remove callbacks from effect dependencies
This commit is contained in:
@@ -141,11 +141,11 @@ export const useSystemSignaturesData = ({
|
||||
return;
|
||||
}
|
||||
handleGetSignatures();
|
||||
}, [handleGetSignatures, setSignatures, systemId, undoPending]);
|
||||
}, [systemId]);
|
||||
|
||||
useEffect(() => {
|
||||
onCountChange?.(signatures.length);
|
||||
}, [onCountChange, signatures]);
|
||||
}, [signatures]);
|
||||
|
||||
return {
|
||||
signatures: signatures.filter(sig => !sig.deleted),
|
||||
|
||||
Reference in New Issue
Block a user