Skip to content

Commit 8286b4c

Browse files
committed
fix: update dependency in AppLayout effect to include isConnected
1 parent 35de56a commit 8286b4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Layout/AppLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const AppLayout = () => {
1919
setStreak(data.streak)
2020
})
2121
}
22-
}, [])
22+
}, [isConnected])
2323

2424
return (
2525
<AuthProvider>

0 commit comments

Comments
 (0)