We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75f4be1 commit a105f24Copy full SHA for a105f24
frontend/src/app/[locale]/projects/[slug]/projectDetail.tsx
@@ -22,7 +22,7 @@ function getProjectTags(project: ProjectPageData) {
22
"label": project.state,
23
"type": "subject" as 'temporal' | 'subject'
24
},
25
- ...((project.category as string[]).map(cat => ({
+ ...((project.category as string[])?.map(cat => ({
26
"label": cat,
27
28
})) || [])];
0 commit comments