Skip to content

Commit

Permalink
fix(projects): prevent app crash when no projects exist
Browse files Browse the repository at this point in the history
  • Loading branch information
ErimTuzcuoglu authored and alcpereira committed Feb 3, 2025
1 parent 7157c9a commit cc1d242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function App() {
}}
>
<Category data={data.workExperience} />
<Category data={data.projects} />
{data?.projects?.length > 0 && <Category data={data.projects} />}
</div>
<div className="app__body-right">
<Profile data={data} />
Expand Down

0 comments on commit cc1d242

Please sign in to comment.