We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e319355 + fe8a2fb commit f2212efCopy full SHA for f2212ef
src/app/profile/setting/page.tsx
@@ -66,7 +66,7 @@ const SettingPage = () => {
66
console.log('🍋🍋 currentEnabled: ', currentEnabled);
67
console.log('🍋🍋🍋 shouldBeEnabled: ', shouldBeEnabled);
68
}
69
- }, [permission]);
+ }, [isSuccess, pushPermission.receivePushNotification]);
70
71
const sendMessageToRN = () => {
72
if ((window as any).ReactNativeWebView) {
0 commit comments