fix: finish rename refactor

This commit is contained in:
jubnl
2026-04-02 19:09:43 +02:00
parent bbf3f0cae8
commit 74e3f85866
5 changed files with 10 additions and 10 deletions

View File

@@ -1,10 +1,10 @@
import { useEffect } from 'react'
import { addListener, removeListener } from '../api/websocket'
import { useNotificationStore } from '../store/notificationStore'
import { useInAppNotificationStore } from '../store/inAppNotificationStore.ts'
export function useInAppNotificationListener(): void {
const handleNew = useNotificationStore(s => s.handleNewNotification)
const handleUpdated = useNotificationStore(s => s.handleUpdatedNotification)
const handleNew = useInAppNotificationStore(s => s.handleNewNotification)
const handleUpdated = useInAppNotificationStore(s => s.handleUpdatedNotification)
useEffect(() => {
const listener = (event: Record<string, unknown>) => {