From 93fe0e26d0b044629628a1e4fbfad1b75ad2d989 Mon Sep 17 00:00:00 2001 From: Tahsin Date: Sat, 1 Jun 2024 13:01:10 -0400 Subject: [PATCH] add color to toast --- README.md | 3 ++- src/app/guestbook/GuestBookAttend.tsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a35a411..41b3364 100644 --- a/README.md +++ b/README.md @@ -5,11 +5,12 @@ - TypeScript - Notion API -## Libraries +## UI Libraries - shadcn/ui - NextUI - Radix UI +- daisyUI ## Getting Started diff --git a/src/app/guestbook/GuestBookAttend.tsx b/src/app/guestbook/GuestBookAttend.tsx index fed8b3e..91878a1 100644 --- a/src/app/guestbook/GuestBookAttend.tsx +++ b/src/app/guestbook/GuestBookAttend.tsx @@ -34,7 +34,7 @@ function GuestBookAttend() { toast({ variant: "destructive", title: toastMessage, description: error, duration: 15000 }); } else { setComments((prev) => [data.record, ...prev]); - toast({ variant: "default", title: toastMessage, description: data.reply, duration: 15000 }); + toast({ variant: "default", title: toastMessage, description: data.reply, duration: 15000, color: "#FFC44F" }); setMessage(""); } })