diff --git a/src/components/Toast/index.tsx b/src/components/Toast/index.tsx index 1e73ffe641..2606ba55cd 100644 --- a/src/components/Toast/index.tsx +++ b/src/components/Toast/index.tsx @@ -11,19 +11,18 @@ function ToastOuter({children}: {children: React.ReactNode}) { } export function ToastOutlet() { - return ( - - ) + return } export const toast: ToastApi = { show(props) { - sonner.custom(, { - duration: props.duration ?? DEFAULT_TOAST_DURATION, - }) + sonner.custom( + + + , + { + duration: props.duration ?? DEFAULT_TOAST_DURATION, + }, + ) }, }