From 3ec6134c99ca50d6cdc0dbcdc72860e869c45320 Mon Sep 17 00:00:00 2001 From: LeeChan <114982593+rookie-orange@users.noreply.github.com> Date: Thu, 11 Apr 2024 19:07:32 +0800 Subject: [PATCH] Update toast.md When I tried to pop up a Toast based on the document's content, it failed. So I ran it on Stackblitz, but it still failed. After my investigation, I found that I just needed to add the 'Toaster' tag within the 'template' tag. --- apps/www/src/content/docs/components/toast.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/www/src/content/docs/components/toast.md b/apps/www/src/content/docs/components/toast.md index 1514472b..ab38ac17 100644 --- a/apps/www/src/content/docs/components/toast.md +++ b/apps/www/src/content/docs/components/toast.md @@ -45,11 +45,13 @@ import { useToast } from '@/components/ui/toast/use-toast'