mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-09 08:40:29 +03:00
forgot to remove removed const ref
This commit is contained in:
parent
c416785f76
commit
350f3ac2f7
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}, []);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue