We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3a531e commit 55894bbCopy full SHA for 55894bb
1 file changed
src/components/Layout/AppLayout.tsx
@@ -14,7 +14,7 @@ export const AppLayout = () => {
14
const postStreakMutation = usePostStreak()
15
16
useEffect(() => {
17
- if (isConnected()) {
+ if (isConnected) {
18
postStreakMutation.mutateAsync(undefined).then((data) => {
19
setStreak(data.streak)
20
})
0 commit comments