Generated by Spark: Fix all reported errors.

This commit is contained in:
2026-01-17 14:33:37 +00:00
committed by GitHub
parent 857c900714
commit 40fa72ec8e

View File

@@ -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={
{