From 185840d3890333be8f84e77589595c2ba2ad2072 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Wed, 13 Aug 2025 14:49:58 -0500 Subject: [PATCH] Fix animation on iOS --- src/components/Toast/index.tsx | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) 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, + }, + ) }, }