Skip to content

Commit

Permalink
fix: tags can be empty array
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandernsilva committed Oct 25, 2023
1 parent 91619ce commit 6332ecb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const SidebarFooterWatermark = (): ReactElement | null => {
return null;
}

const [{ name: planName }] = license.tags ?? [{ name: 'Community' }];
const [{ name: planName } = { name: 'Community' }] = license.tags ?? [];

return (
<Box pi={16} pbe={8}>
Expand Down

0 comments on commit 6332ecb

Please sign in to comment.