Skip to content

Commit

Permalink
#2981: let DEFAULT_TIMEOUT for Toasts be used (#2982)
Browse files Browse the repository at this point in the history
Co-authored-by: Devagouda <40405790+dpatil-magento@users.noreply.github.com>
  • Loading branch information
brendanfalkowski and dpatil-magento authored Feb 3, 2021
1 parent 53a726c commit 1d45ad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/peregrine/lib/Toasts/useToasts.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export const useToasts = () => {
const {
dismissable,
message,
timeout,
timeout = DEFAULT_TIMEOUT,
type,
onDismiss,
onAction
Expand Down

0 comments on commit 1d45ad4

Please sign in to comment.