diff --git a/projects/website/src/components/loaders/database-loader.tsx b/projects/website/src/components/loaders/database-loader.tsx index 1f263d9..5a4e0fa 100644 --- a/projects/website/src/components/loaders/database-loader.tsx +++ b/projects/website/src/components/loaders/database-loader.tsx @@ -18,7 +18,6 @@ type DatabaseLoaderProps = { }; export default function DatabaseLoader({ children }: DatabaseLoaderProps) { - const { toast } = useToast(); const [database, setDatabase] = useState(undefined); useEffect(() => { @@ -28,12 +27,8 @@ export default function DatabaseLoader({ children }: DatabaseLoaderProps) { db.on("ready", () => { const loadTime = (performance.now() - before).toFixed(0); console.log(`Loaded database in ${loadTime}ms`); - toast({ - title: "Database loaded", - description: `The database was loaded in ${loadTime}ms.`, - }); }); - }, [toast]); + }, []); return (