Skip to content

Commit

Permalink
fix(notification): unexpected } (#563)
Browse files Browse the repository at this point in the history
  • Loading branch information
WOSHIZHAZHA120 authored Mar 6, 2024
1 parent ed66085 commit 7f53253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/use-notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const useNotification = async ({
const permissionGranted = portable || (await checkPermission());
if (portable || !permissionGranted) {
// fallback to mui notification
Notice[type](`${title} ${body ? `: ${body}` : ""}}`);
Notice[type](`${title} ${body ? `: ${body}` : ""}`);
// throw new Error("notification permission not granted!");
return;
}
Expand Down

0 comments on commit 7f53253

Please sign in to comment.