Skip to content

Commit

Permalink
BUG FIX: Missing project thumbnails in home page
Browse files Browse the repository at this point in the history
  • Loading branch information
mbeps committed Feb 4, 2024
1 parent a17338b commit c6db8bf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/(site)/components/ProjectSection.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import updateProjectImages from "@/actions/file-system/updateProjectImages";
import validateSlugsWithContent from "@/actions/material/validateSlugsWithContent";
import ProjectItem from "@/components/ProjectItem/ProjectItem";
import HeadingTwo from "@/components/Text/HeadingTwo";
Expand Down Expand Up @@ -38,7 +39,7 @@ const ProjectsSection = () => {
<HeadingTwo title="Projects" />

<div className="flex flex-col space-y-20 mt-14">
{allProjects
{updateProjectImages(allProjects)
.filter((project) => allowedSlugs.includes(project.slug))
.map((project, idx) => (
<div key={idx}>
Expand Down

0 comments on commit c6db8bf

Please sign in to comment.