diff --git a/web/lib/firebase/auth.ts b/web/lib/firebase/auth.ts index d1c440ec..8a579764 100644 --- a/web/lib/firebase/auth.ts +++ b/web/lib/firebase/auth.ts @@ -6,7 +6,7 @@ const TOKEN_KINDS = ['refresh', 'id'] as const type TokenKind = typeof TOKEN_KINDS[number] const getAuthCookieName = (kind: TokenKind) => { - const suffix = `${PROJECT_ID}_${kind}`.toUpperCase().replaceAll('-', '_') + const suffix = `${PROJECT_ID}_${kind}`.toUpperCase() return `FIREBASE_TOKEN_${suffix}` } diff --git a/web/pages/notifications.tsx b/web/pages/notifications.tsx index 271d21be..f36debc3 100644 --- a/web/pages/notifications.tsx +++ b/web/pages/notifications.tsx @@ -101,7 +101,7 @@ export default function Notifications(props: { user: User }) { cachedNotifications={localNotifications} /> ) : localNotifications && localNotifications.length > 0 ? ( -