We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75bebee commit 9b540d2Copy full SHA for 9b540d2
src/store/notification-permission/index.ts
@@ -28,7 +28,7 @@ export const requestNotificationPermission = createAsyncThunk<string | undefined
28
try {
29
const messaging = getMessaging(firebaseApp);
30
return await getToken(messaging);
31
- } catch (_error) {
+ } catch (_) {
32
throw new Error('unsupported');
33
}
34
} else if (permission === 'default') {
0 commit comments