fix
This commit is contained in:
1 parent
cfc6cd540a
commit
62545d0114
2 files changed
+62
-14
No files matched your search
@@ -47,7 +47,7 @@ export function NotificationProvider() {
|
||||
const registered = await notificationService.requestPermissionAndRegister();
|
||||
console.log('[NotificationProvider] Registration result:', registered);
|
||||
if (registered) {
|
||||
unsubscribe = notificationService.setupForegroundHandler((payload) => {
|
||||
unsubscribe = await notificationService.setupForegroundHandler((payload) => {
|
||||
console.log('[NotificationProvider] Foreground message received:', payload);
|
||||
addToast(payload);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user