Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JubairShaik committed May 20, 2023
1 parent b85cae5 commit 563adfc
Showing 1 changed file with 24 additions and 5 deletions.
29 changes: 24 additions & 5 deletions src/components/RestaurantDetail.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ import Navbar from './Navbar';


}
return restaurants.length === 0 ? (<Shimmer2/>):(

<>


<section className={``}>
<section className={``}>
<div className="sm:px-[10rem] fixed w-full bg-gray-800 px-[.3rem]">

<Navbar />
Expand Down Expand Up @@ -115,9 +115,9 @@ import Navbar from './Navbar';
</div>
</div>
</li>

)
}
</ul>

</div>

</div>
Expand All @@ -143,4 +143,23 @@ import Navbar from './Navbar';

export default RestaurantDetail;




{/*
<div>
<h1>Menu Items</h1>
<ul>{
Object.values(restaurants.menu.items).map((item)=><li key={item.id}>{item.name}</li>)
}</ul>
</div>
const handleRemoveItem = ()=>{
dispatch( removeItem([]))
}
*/}

0 comments on commit 563adfc

Please sign in to comment.