diff --git a/src/context/notifications.tsx b/src/context/notifications.tsx index 1fa2344c..31be3491 100644 --- a/src/context/notifications.tsx +++ b/src/context/notifications.tsx @@ -90,7 +90,7 @@ export const NotificationsProvider = (props: { children: JSX.Element }) => { const [messageHandler, setMessageHandler] = createSignal<(m: Message) => void>() - createEffect(async () => { + createEffect(() => { if (isAuthenticated()) { loadNotifications()