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:
+11
-2
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user