removed db from gitignore + made it so that the app cards render dynamically + delete dialog + add actually works + no crashing

This commit is contained in:
2026-06-27 19:54:57 -05:00
parent c9a7a4bdca
commit 143c21305a
21 changed files with 616 additions and 131 deletions
+11 -2
View File
@@ -4,6 +4,8 @@ import { Inter } from "next/font/google";
import "./globals.css";
import { cn } from "@/lib/utils";
import Sidebar from "@/components/sidebar";
import { Toaster } from "@/components/ui/sonner";
import QueryProvider from "@/components/query-provider";
const inter = Inter({ subsets: ["latin"], variable: "--font-sans" });
@@ -12,8 +14,15 @@ export const metadata: Metadata = {
description: "A homelab managment and blogging platform",
};
function Providers({ children }: { children: React.ReactNode }) {
return <TooltipProvider>{children}</TooltipProvider>;
async function Providers({ children }: { children: React.ReactNode }) {
return (
<QueryProvider>
<TooltipProvider>
<Toaster />
{children}
</TooltipProvider>
</QueryProvider>
);
}
export default function RootLayout({