mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-20 09:01:17 -08:00
forgot to remove removed const ref
This commit is contained in:
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);
|
||||
}, []);
|
||||
|
||||
Reference in new issue
Block a user