Skip to content

[bug]: cannot load the project page #54

@Boby900

Description

@Boby900

Hi there,
When I am trying to load the project page I am getting an error.

 ⨯ app\projects\page.tsx (99:64) @ slug
 ⨯ TypeError: Cannot read properties of undefined (reading 'slug')
    at eval (./app/projects/page.tsx:212:66)
    at Array.map (<anonymous>)
    at ProjectsPage (./app/projects/page.tsx:209:35)
digest: "3719235695"
   97 |             {[top2, top3].map((project) => (
   98 |               <Card key={project.slug}>
>  99 |                 <Article project={project} views={views[project.slug] ?? 0} />
      |                                                                ^
  100 |               </Card>
  101 |             ))}
  102 |           </div>

Screenshot (574)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions