Skip to content

Commit

Permalink
goddamnit
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahvdAa committed Jul 25, 2023
1 parent ae17b55 commit cdf1749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ws/handler/announcement.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const IMPORTANT_DURATION = 300_000;

export function handleAnnouncement(payload) {
Toastify({
message: payload.message,
text: payload.message,
duration: payload.showFor ?? (payload.important ? IMPORTANT_DURATION : 60000),
style: payload.style ?? undefined
}).showToast();
Expand Down

0 comments on commit cdf1749

Please sign in to comment.