File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { useSheet } from "react-native-sheet-transitions"
77import { useIntentHandler } from "./hooks/useIntentHandler"
88import { DebugButton , EnvProfileIndicator } from "./modules/debug"
99import { usePrefetchActions } from "./store/action/hooks"
10- import { useMessaging , useMessagingToken } from "./store/messaging/hooks"
10+ import { useMessaging , useUpdateMessagingToken } from "./store/messaging/hooks"
1111import { useUnreadCountBadge } from "./store/unread/hooks"
1212import { useOnboarding , usePrefetchSessionUser } from "./store/user/hooks"
1313
@@ -18,7 +18,7 @@ export function App({ children }: { children: React.ReactNode }) {
1818
1919 // prefetch actions to detect if the user has any actions contains notifications
2020 usePrefetchActions ( )
21- useMessagingToken ( )
21+ useUpdateMessagingToken ( )
2222 useMessaging ( )
2323 const { scale } = useSheet ( )
2424
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ async function saveMessagingToken() {
3030 kv . set ( FIREBASE_MESSAGING_TOKEN_STORAGE_KEY , token )
3131}
3232
33- export function useMessagingToken ( ) {
33+ export function useUpdateMessagingToken ( ) {
3434 const whoami = useWhoami ( )
3535 const hasNotificationActions = useHasNotificationActions ( )
3636 const { mutate } = useMutation ( {
You can’t perform that action at this time.
0 commit comments