Skip to content

Commit

Permalink
add toast duration
Browse files Browse the repository at this point in the history
  • Loading branch information
moo-onthelawn committed May 1, 2024
1 parent 305c26e commit 4879667
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hooks/useNotificationTypes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ export const notificationTypes: NotificationTypeConfig[] = [
icon: assetIcon,
title: title,
body: body,
toastDuration: DEFAULT_TOAST_AUTO_CLOSE_MS,
renderCustomBody: ({ isToast, notification }) => (
<TriggerOrderNotification
status={status}
Expand Down

0 comments on commit 4879667

Please sign in to comment.