summaryrefslogtreecommitdiff
path: root/apps/web/src/components/ui/sonner.tsx
diff options
context:
space:
mode:
authorKha Nguyen <hi@khanguyen.com>2025-07-24 17:00:49 -0500
committerKha Nguyen <hi@khanguyen.com>2025-07-24 17:00:49 -0500
commit1ccacf6bb5db579cf6f343d9de57bce92d296f5f (patch)
tree8f4ab02ef1c0a7420c1827607207c52629e56288 /apps/web/src/components/ui/sonner.tsx
parent0b7a943de30663a37aec93421cbd90dfbd673d87 (diff)
downloadopencut-1ccacf6bb5db579cf6f343d9de57bce92d296f5f.tar.gz
merge main
Diffstat (limited to 'apps/web/src/components/ui/sonner.tsx')
-rw-r--r--apps/web/src/components/ui/sonner.tsx16
1 files changed, 8 insertions, 8 deletions
diff --git a/apps/web/src/components/ui/sonner.tsx b/apps/web/src/components/ui/sonner.tsx
index 452f4d9f..549cf841 100644
--- a/apps/web/src/components/ui/sonner.tsx
+++ b/apps/web/src/components/ui/sonner.tsx
@@ -1,12 +1,12 @@
-"use client"
+"use client";
-import { useTheme } from "next-themes"
-import { Toaster as Sonner } from "sonner"
+import { useTheme } from "next-themes";
+import { Toaster as Sonner } from "sonner";
-type ToasterProps = React.ComponentProps<typeof Sonner>
+type ToasterProps = React.ComponentProps<typeof Sonner>;
const Toaster = ({ ...props }: ToasterProps) => {
- const { theme = "system" } = useTheme()
+ const { theme = "system" } = useTheme();
return (
<Sonner
@@ -25,7 +25,7 @@ const Toaster = ({ ...props }: ToasterProps) => {
}}
{...props}
/>
- )
-}
+ );
+};
-export { Toaster }
+export { Toaster };