Skip to content

A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.

fix(app): remove next-theme dependency

dextmorgn2fec5b82e9a1
diff --git a/flowsint-app/src/components/ui/sonner.tsx b/flowsint-app/src/components/ui/sonner.tsx
index fdd8b98b..895700ed 100644
--- a/flowsint-app/src/components/ui/sonner.tsx
+++ b/flowsint-app/src/components/ui/sonner.tsx
@@ -1,5 +1,5 @@
-import { useTheme } from 'next-themes'
import { Toaster as Sonner, ToasterProps } from 'sonner'
+import { useTheme } from '../theme-provider'
const Toaster = ({ ...props }: ToasterProps) => {
const { theme = 'system' } = useTheme()