forgot to remove removed const ref

This commit is contained in:
Gigiaj committed 2025-06-20 17:03:51 -05:00
1 parent c416785f76
commit 350f3ac2f7
1 file changed
+1 -1
@@ -97,7 +97,7 @@ function WebPushNotificationSetting() {
const [isLoading, setIsLoading] = useState<boolean>(true);
const browserPermission = usePermissionState('notifications', getNotificationState());
useEffect(() => {
const storedPreference = localStorage.getItem(PUSH_PREFERENCE_KEY);
const storedPreference = localStorage.getItem('cinny_web_push_enabled');
setUserPushPreference(storedPreference === 'true');
setIsLoading(false);
}, []);