Fix bug in error handler response handling

Change background of Sonner
This commit is contained in:
grimsi
2024-06-08 16:05:25 +02:00
parent 96c89662ec
commit 273e9b0a07
4 changed files with 25 additions and 17 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ const Toaster = ({ ...props }: ToasterProps) => {
toastOptions={{
classNames: {
toast:
"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",
"group toast group-[.toaster]:bg-content1 group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",
description: "group-[.toast]:text-muted-foreground",
actionButton:
"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",