Skip to content

Commit

Permalink
add color to toast
Browse files Browse the repository at this point in the history
  • Loading branch information
tahsinature committed Jun 1, 2024
1 parent 07054bd commit 93fe0e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
- TypeScript
- Notion API

## Libraries
## UI Libraries

- shadcn/ui
- NextUI
- Radix UI
- daisyUI

## Getting Started

Expand Down
2 changes: 1 addition & 1 deletion src/app/guestbook/GuestBookAttend.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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("");
}
})
Expand Down

0 comments on commit 93fe0e2

Please sign in to comment.