Fix notification status code handling

This commit is contained in:
Gregory Schier
2024-07-23 07:30:47 -07:00
parent cd07123157
commit 9f7033ab06
4 changed files with 12 additions and 10 deletions

View File

@@ -20,6 +20,7 @@ export function useNotificationToast() {
label: string;
};
}>('notification', ({ payload }) => {
console.log('Got notification event', payload);
const actionUrl = payload.action?.url;
const actionLabel = payload.action?.label;
toast.show({