diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 3fa61b8..283e5bd 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -3,7 +3,7 @@ import localFont from "next/font/local"; import "./globals.css"; import { Input } from "@/components/ui/input"; import { Search } from "lucide-react"; -// import { artSupplies } from "./data"; +import { artSupplies } from "./data"; import Link from "next/link"; const helvetica = localFont({ @@ -30,6 +30,7 @@ export default function RootLayout({ }: Readonly<{ children: React.ReactNode; }>) { + const allCategories = artSupplies.flatMap((item) => item.categories); return (