From 40c7c1b515abf4abcecd6480afb28f27fb71d0f0 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Sat, 30 Dec 2023 21:32:23 -0500 Subject: port updater to ws, also small refactoring --- frontend/src/components/settings/pages/general/NotificationSettings.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend/src/components/settings/pages/general/NotificationSettings.tsx') diff --git a/frontend/src/components/settings/pages/general/NotificationSettings.tsx b/frontend/src/components/settings/pages/general/NotificationSettings.tsx index 21c2fd82..82f42e3b 100644 --- a/frontend/src/components/settings/pages/general/NotificationSettings.tsx +++ b/frontend/src/components/settings/pages/general/NotificationSettings.tsx @@ -6,7 +6,7 @@ import { useDeckyState } from '../../../DeckyState'; const NotificationSettings: FC = () => { const { notificationSettings } = useDeckyState(); - const notificationService = window.DeckyPluginLoader.notificationService; + const notificationService = DeckyPluginLoader.notificationService; const { t } = useTranslation(); -- cgit v1.2.3