Connect, collaborate, and grow with a community of TypeScript developers
chore: fix toast timeout
bautistaaaffba68352ac5
diff --git a/packages/ui/src/components/use-toast.ts b/packages/ui/src/components/use-toast.tsindex 71463fdd..8a60b982 100644--- a/packages/ui/src/components/use-toast.ts+++ b/packages/ui/src/components/use-toast.ts@@ -5,7 +5,7 @@ import { useState, useEffect } from 'react';import type { ToastActionElement, ToastProps } from './toast';const TOAST_LIMIT = 1;-const TOAST_REMOVE_DELAY = 1000000;+const TOAST_REMOVE_DELAY = 5000;type ToasterToast = ToastProps & {id: string;