Skip to content

Commit

Permalink
add missing dep
Browse files Browse the repository at this point in the history
  • Loading branch information
sdankel committed Apr 25, 2024
1 parent 53dacaa commit 4b7d739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/features/toolbar/hooks/useGithubAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export function useGithubAuth(): [AuthenticatedUser | null, () => void] {
.catch((error) => {
console.log('Unexpected error: ', error);
});
}, [githubUser, sessionId, setGithubUser]);
}, [githubUser, sessionId, setGithubUser, clearSessionId]);

return [githubUser, logout];
}

0 comments on commit 4b7d739

Please sign in to comment.