Skip to content

Commit fa599f9

Browse files
committed
fix: return fragment instead of null
or the website will be broken for some unknown reason 🤔
1 parent b1a6433 commit fa599f9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/login/_components/posthog-resetter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ export default function PostHogResetter() {
99
posthog.reset();
1010
}, []);
1111

12-
return null;
12+
return <></>;
1313
}

providers/posthog-identifier.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ export default function PostHogIdentifier() {
2020
}
2121
}, [user]);
2222

23-
return null;
23+
return <></>;
2424
}

0 commit comments

Comments
 (0)