Skip to content

Commit

Permalink
Merge pull request #145 from fedimint/hooks-fix
Browse files Browse the repository at this point in the history
fix: hooks lint
  • Loading branch information
EthnTuttle authored Aug 18, 2023
2 parents 93199b9 + 6288a75 commit 09acf05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/guardian-ui/src/components/ConnectGuardians.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export const ConnectGuardians: React.FC<Props> = ({ next }) => {
rows = [...rows, row];
}
return rows;
}, [peers, numPeers, t]);
}, [numPeers, peers, role, t]);

return (
<VStack width='100%' justify='start' align='start' gap={8}>
Expand Down
2 changes: 1 addition & 1 deletion apps/guardian-ui/src/components/VerifyGuardians.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export const VerifyGuardians: React.FC<Props> = ({ next }) => {
setError(formatApiErrorMessage(err));
});
}
}, [api, peersWithHash, enteredHashes, verifiedConfigs]);
}, [api, peersWithHash, enteredHashes, verifiedConfigs, numPeers, next]);

const handleNext = useCallback(async () => {
setIsStarting(true);
Expand Down

0 comments on commit 09acf05

Please sign in to comment.