added color to sonner
This commit is contained in:
@@ -56,8 +56,7 @@ export default function RootLayout({
|
||||
}>) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<head>
|
||||
</head>
|
||||
<head></head>
|
||||
<body className={inter.className}>
|
||||
<ThemeProvider
|
||||
attribute="class"
|
||||
@@ -70,7 +69,7 @@ export default function RootLayout({
|
||||
<div className="flex w-full justify-center">
|
||||
<div className="w-full max-w-7xl ">
|
||||
{children}
|
||||
<Toaster />
|
||||
<Toaster richColors />
|
||||
</div>
|
||||
</div>
|
||||
{/* <Footer /> */}
|
||||
|
||||
@@ -32,7 +32,7 @@ function ScriptItem() {
|
||||
|
||||
function handleCopy(type: string, value: any) {
|
||||
navigator.clipboard.writeText(value);
|
||||
toast(
|
||||
toast.success(
|
||||
<div className="flex items-center gap-2">
|
||||
<Clipboard className="h-4 w-4" />
|
||||
<span>Copied {type} to clipboard</span>
|
||||
|
||||
Reference in New Issue
Block a user