chronark / chronark.com

https://chronark.com
MIT License
667 stars 374 forks source link

[bug]: cannot load the project page #54

Open Boby900 opened 2 months ago

Boby900 commented 2 months ago

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)