From e085cdfd9ab336219dd9aa4c01426b7f974fcf31 Mon Sep 17 00:00:00 2001 From: Rhys Sullivan <39114868+RhysSullivan@users.noreply.github.com> Date: Thu, 17 Oct 2024 21:17:06 -0700 Subject: [PATCH] sidebar --- src/app/layout.tsx | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) 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 (
{children}