Refactor: console 출력 일부 제거

This commit is contained in:
홍창기 2024-09-27 09:13:55 +09:00
parent f38b0512f1
commit ce788edf48
3 changed files with 1 additions and 5 deletions

View File

@ -17,7 +17,7 @@ const messaging = getMessaging(firebaseApp);
const registerServiceWorker = async () => {
if (!('serviceWorker' in navigator)) {
console.warn('현재 브라우저에서 Service Worker를 지원하지 않습니다.');
console.warn('현재 브라우저에서 서비스 워커를 지원하지 않습니다.');
return;
}

View File

@ -50,9 +50,6 @@ const getFcmToken = async () => {
const handleForegroundMessages = () => {
onMessage(messaging, (payload) => {
console.log('onMessage');
console.log(payload);
if (!payload.data) return;
console.log(payload.data);

View File

@ -7,7 +7,6 @@ export default function FirebaseTest() {
const fcmToken = await getFcmToken();
if (fcmToken) {
console.log(fcmToken);
await saveFcmToken(fcmToken);
return;
}