Skip to content

Commit

Permalink
Reduce the toaster removal delay to 5secs
Browse files Browse the repository at this point in the history
  • Loading branch information
gokulkrishh committed Aug 11, 2023
1 parent eddd729 commit 55420dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ui/use-toast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as React from 'react';
import type { ToastActionElement, ToastProps } from 'components/ui/toast';

const TOAST_LIMIT = 1;
const TOAST_REMOVE_DELAY = 6000;
const TOAST_REMOVE_DELAY = 5000;

type ToasterToast = ToastProps & {
id: string;
Expand Down

1 comment on commit 55420dd

@vercel
Copy link

@vercel vercel bot commented on 55420dd Aug 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.