diff --git a/src/components/push-notification/push-notification-status.tsx b/src/components/push-notification/push-notification-status.tsx
index e049e1b..f24f9bd 100644
--- a/src/components/push-notification/push-notification-status.tsx
+++ b/src/components/push-notification/push-notification-status.tsx
@@ -7,14 +7,10 @@ import { usePushNotifications } from '@/services/push-notification';
import { useCoreStore } from '@/stores/app/core-store';
export function PushNotificationStatus() {
- const { pushToken, sendTestNotification } = usePushNotifications();
+ const { pushToken } = usePushNotifications();
const activeUnitId = useCoreStore((state) => state.activeUnitId);
const activeUnit = useCoreStore((state) => state.activeUnit);
- const handleTestNotification = () => {
- sendTestNotification();
- };
-
return (
Push Notification Status
@@ -28,12 +24,6 @@ export function PushNotificationStatus() {
Push Token: {pushToken ? `${pushToken.substring(0, 20)}...` : 'Not registered'}
Status: {pushToken ? 'Registered' : 'Not Registered'}
-
-
-
-
);
}
diff --git a/src/services/push-notification.ts b/src/services/push-notification.ts
index 9540e03..863f57b 100644
--- a/src/services/push-notification.ts
+++ b/src/services/push-notification.ts
@@ -294,6 +294,5 @@ export const usePushNotifications = () => {
return {
pushToken: pushNotificationService.getPushToken(),
- sendTestNotification: () => pushNotificationService.sendTestNotification(),
};
};