diff --git a/web/hooks/use-notifications.ts b/web/hooks/use-notifications.ts index 87a578be..b9bef469 100644 --- a/web/hooks/use-notifications.ts +++ b/web/hooks/use-notifications.ts @@ -8,7 +8,6 @@ import { import { groupBy, map } from 'lodash' import { useFirestoreQueryData } from '@react-query-firebase/firestore' import { NOTIFICATIONS_PER_PAGE } from 'web/pages/notifications' -import { safeLocalStorage } from 'web/lib/util/local' export type NotificationGroup = { notifications: Notification[] diff --git a/web/pages/notifications.tsx b/web/pages/notifications.tsx index 1d4d1794..271d21be 100644 --- a/web/pages/notifications.tsx +++ b/web/pages/notifications.tsx @@ -1,6 +1,6 @@ import { Tabs } from 'web/components/layout/tabs' import { usePrivateUser, useUser } from 'web/hooks/use-user' -import React, { useEffect, useMemo, useState } from 'react' +import React, { useEffect, useState } from 'react' import { Notification, notification_source_types } from 'common/notification' import { Avatar, EmptyAvatar } from 'web/components/avatar' import { Row } from 'web/components/layout/row' @@ -53,9 +53,6 @@ import { getServerAuthenticatedUid, redirectIfLoggedOut, } from 'web/lib/firebase/server-auth' -import { useQueryClient } from 'react-query' -import { getNotificationsQuery } from 'web/lib/firebase/notifications' -import { getValues } from 'web/lib/firebase/utils' export const NOTIFICATIONS_PER_PAGE = 30 const MULTIPLE_USERS_KEY = 'multipleUsers'