From 0623e4ca75869523d4ee5798362511e7aec99f65 Mon Sep 17 00:00:00 2001 From: eunhak Date: Fri, 7 Jun 2024 23:37:06 +0900 Subject: [PATCH] fix: test: fix --- src/components/pwa/Test.tsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/pwa/Test.tsx b/src/components/pwa/Test.tsx index 98fa36a..dc9ca0d 100644 --- a/src/components/pwa/Test.tsx +++ b/src/components/pwa/Test.tsx @@ -1,21 +1,21 @@ import { useEffect } from 'react'; import { registerServiceWorker, - requestNotificationPermission, - sendPushNotification + requestNotificationPermission + // sendPushNotification } from './SetUp'; export const Test = () => { // 푸시 알림 테스트 - const clickPushHandler = () => { - sendPushNotification('매직포스 알림', '알림 가나요?'); - }; + // const clickPushHandler = () => { + // // sendPushNotification('매직포스 알림', '알림 가나요?'); + // }; useEffect(() => { registerServiceWorker(); requestNotificationPermission(); // 직접 푸시 알림 테스트 - sendPushNotification('테스트 알림', '테스트 알림입니다.'); + // sendPushNotification('테스트 알림', '테스트 알림입니다.'); }, []); - return ; + // return ; };