mirror of
https://github.com/johndoe6345789/snippet-pastebin.git
synced 2026-04-24 13:34:55 +00:00
Generated by Spark: Fix all reported errors.
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
import { useTheme } from "next-themes"
|
||||
import { CSSProperties } from "react"
|
||||
import { Toaster as Sonner, ToasterProps } from "sonner"
|
||||
|
||||
const Toaster = ({ ...props }: ToasterProps) => {
|
||||
const { theme = "system" } = useTheme()
|
||||
|
||||
return (
|
||||
<Sonner
|
||||
theme={theme as ToasterProps["theme"]}
|
||||
theme="dark"
|
||||
className="toaster group"
|
||||
style={
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user