Skip to content

Commit 9b540d2

Browse files
authored
Update index.ts
1 parent 75bebee commit 9b540d2

File tree

1 file changed

+1
-1
lines changed
  • src/store/notification-permission

1 file changed

+1
-1
lines changed

src/store/notification-permission/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const requestNotificationPermission = createAsyncThunk<string | undefined
2828
try {
2929
const messaging = getMessaging(firebaseApp);
3030
return await getToken(messaging);
31-
} catch (_error) {
31+
} catch (_) {
3232
throw new Error('unsupported');
3333
}
3434
} else if (permission === 'default') {

0 commit comments

Comments
 (0)