Skip to content

Commit

Permalink
Merge pull request #87 from Asadaaaaa/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
zkazharan authored Nov 4, 2023
2 parents 96f14f0 + 9b6b6ff commit fb38d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/(main)/discover/Project.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function Project() {
)
})
}else{
const categoryDataProject = dataProject.filter((item) => item.categories.map((val) => val.id).includes(filterCategory.id));
const categoryDataProject = dataProject.filter((item) => item.categories ? item.categories.map((val) => val.id).includes(filterCategory.id) : null);

categoryDataProject.map((val, index) => {
index % 2 !== 0 ? (
Expand Down

0 comments on commit fb38d8a

Please sign in to comment.