From 2b91a729bd059522fac4a50eef4d0cfde5e937da Mon Sep 17 00:00:00 2001 From: Untone Date: Wed, 18 Oct 2023 12:56:07 +0300 Subject: [PATCH] noasync --- src/context/notifications.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()