Skip to content

Commit

Permalink
Update src/context/Global.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: michael1011 <[email protected]>
  • Loading branch information
dni and michael1011 authored May 17, 2024
1 parent 23cf172 commit bfd2b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/context/Global.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ const GlobalProvider = (props: { children: any }) => {
},
);

const notify = (type: string, message: string, audio?: boolean) => {
const notify = (type: string, message: string, audio: boolean = false) => {
setNotificationType(type);
setNotification(message);
if (audio && audioNotification()) playNotificationSound();
Expand Down

0 comments on commit bfd2b7d

Please sign in to comment.