Skip to content

Commit f2212ef

Browse files
Merge pull request #499 from meowzip/hyoni
Fix: useEffect 의존성 배열 수정
2 parents e319355 + fe8a2fb commit f2212ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/profile/setting/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ const SettingPage = () => {
6666
console.log('🍋🍋 currentEnabled: ', currentEnabled);
6767
console.log('🍋🍋🍋 shouldBeEnabled: ', shouldBeEnabled);
6868
}
69-
}, [permission]);
69+
}, [isSuccess, pushPermission.receivePushNotification]);
7070

7171
const sendMessageToRN = () => {
7272
if ((window as any).ReactNativeWebView) {

0 commit comments

Comments
 (0)