From 5889635d8a01d666002aa5ea8e84975a4710e5ec Mon Sep 17 00:00:00 2001 From: Gabriel Taveira Date: Sat, 14 Dec 2024 19:45:00 -0300 Subject: [PATCH] fix example --- examples/kitchen-sink/src/components/Toast.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/kitchen-sink/src/components/Toast.tsx b/examples/kitchen-sink/src/components/Toast.tsx index 594717b..706a064 100644 --- a/examples/kitchen-sink/src/components/Toast.tsx +++ b/examples/kitchen-sink/src/components/Toast.tsx @@ -42,7 +42,7 @@ export const showToast = async () => { style: { justifyContent: "flex-start", }, - }); + }).promise; // eslint-disable-next-line no-console console.log("Toast closed with response:", toastResponse);