Skip to content

Commit

Permalink
handle undefined features
Browse files Browse the repository at this point in the history
  • Loading branch information
DerGoogler committed Aug 28, 2024
1 parent 385a0f2 commit cd3b3c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/activitys/ModuleViewActivity/tabs/AboutTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const AboutTab = () => {
</ListItemButton>
</List>

{Object.keys(features).length !== 0 && (
{features && Object.keys(features).length !== 0 && (
<>
<Divider />

Expand Down

0 comments on commit cd3b3c5

Please sign in to comment.