diff --git a/app/components/user/settings/PrivacySection.tsx b/app/components/user/settings/PrivacySection.tsx index 8cbdc22..38fd638 100644 --- a/app/components/user/settings/PrivacySection.tsx +++ b/app/components/user/settings/PrivacySection.tsx @@ -35,7 +35,7 @@ export function PrivacySection({ if (!open) setConfirmed(false); }; - const inCooldown = dataRequestCooldownUntil != null && dataRequestCooldownUntil > new Date(); + const inCooldown = dataRequestCooldownUntil !== null && dataRequestCooldownUntil > new Date(); return (
@@ -69,7 +69,7 @@ export function PrivacySection({ {inCooldown && !dataRequestSuccess && (

Your data request is being processed. You can submit another request - after {dataRequestCooldownUntil!.toLocaleDateString()}. + after {dataRequestCooldownUntil?.toLocaleDateString()}.

)}