Skip to content

Commit

Permalink
Update Home.js
Browse files Browse the repository at this point in the history
  • Loading branch information
rajRishi22 authored Aug 16, 2024
1 parent 387f85a commit f5074e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screens/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function Home() {


<div className='container'>
{foodCat.length !== 0 ? (
{ foodCat && foodCat.length !== 0 ? (
foodCat.map((data) => {
return (
<div className='mb-3' key={data._id}>
Expand Down

0 comments on commit f5074e3

Please sign in to comment.