We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb983ad commit 12124ddCopy full SHA for 12124dd
1 file changed
client/app/components/vote/index.tsx
@@ -94,9 +94,9 @@ const Vote = ({ logout }: { logout: () => void }) => {
94
</AccordionTrigger>
95
<AccordionContent className="gap-4 flex flex-col">
96
<div className="flex gap-2 text-xs">
97
- {nominations.map(({ positions }) => (
+ {nominations?.map(({ positions }) => (
98
<div className="bg-accent text-accent-foreground py-1 px-2">
99
- {positions.title}
+ {positions?.title}
100
</div>
101
))}
102
0 commit comments