Skip to content

Commit

Permalink
fix: initialize scannedUserCount
Browse files Browse the repository at this point in the history
  • Loading branch information
kawamataryo committed Feb 22, 2025
1 parent 3785464 commit 74126ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hooks/useRetrieveBskyUsers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ export const useRetrieveBskyUsers = () => {
setErrorMessage("");
setLoading(true);
await setUsers([]);
setScannedUserCount(0);
}, []);

const restart = React.useCallback(() => {
Expand Down

0 comments on commit 74126ef

Please sign in to comment.