client/web: fix ts connection check

Updates #10261

Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
This commit is contained in:
Sonia Appasamy
2023-12-12 14:31:49 -05:00
committed by Sonia Appasamy
parent 8c2fcef453
commit dd0279a6c9
2 changed files with 4 additions and 5 deletions

View File

@ -83,7 +83,8 @@ export default function useAuth() {
useEffect(() => {
loadAuth() // Refresh auth state after syno auth runs
}, [loadAuth, ranSynoAuth])
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [ranSynoAuth])
return {
data,