fix: use full page reload after consent to avoid AuthGuard race condition

This commit is contained in:
ashim-hq
2026-04-23 11:19:31 +08:00
parent d543141d19
commit d6a977e149
@@ -30,12 +30,12 @@ export function AnalyticsConsentPage() {
const handleAccept = async () => {
await acceptAnalytics();
navigate("/", { replace: true });
window.location.href = "/";
};
const handleDecline = async () => {
await remindLater();
navigate("/", { replace: true });
window.location.href = "/";
};
return (