diff --git a/app/[dh_choice]/page.tsx b/app/[dh_choice]/page.tsx index b5ea4ce..46ed902 100644 --- a/app/[dh_choice]/page.tsx +++ b/app/[dh_choice]/page.tsx @@ -34,7 +34,7 @@ function name_to_dh_index(dhName: string, dhArray: Array) { return -1; } -function Accordion({ category, index }) { +function Accordion({ category }) { const [isOpen, setIsOpen] = useState(false); return ( @@ -96,40 +96,15 @@ export default function Page({ searchParams }) { return (
-<<<<<<< HEAD - {/* Dining Hall Name */} -

- {searchParams.name} -

- - {/* List all the meal times and their foods */} - { - // create an array of arrays of the meal times and their foods - meal_times && - Object.entries(meal_times).map( - ([meal_time, foods]: Array | any>, i) => ( -
-

{meal_time}

-
    - {foods.map((food: string, j: number) => ( -
  • {food}
  • - ))} -
-
- ) - ) - } -=======

{searchParams.name}

{categories.map((category, i) => (
{/*

{category.name}

*/}
- +
))} ->>>>>>> origin
); diff --git a/app/page.tsx b/app/page.tsx index 6a0e58d..b824075 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -106,14 +106,6 @@ function Home() { - - );