Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: render empty mobile group
Browse files Browse the repository at this point in the history
flops committed Dec 17, 2024
1 parent 2d664af commit 2bfd693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/MobileLayout/MobileLayout.tsx
Original file line number Diff line number Diff line change
@@ -53,7 +53,7 @@ export default class MobileLayout extends React.PureComponent<
const groupId = group.id || DEFAULT_GROUP;
const items = sortedItems[groupId];

const children = items.map((item, index) => {
const children = (items || []).map((item, index) => {
const isItemWithActiveAutoheight =
item.id in this.state.itemsWithActiveAutoheight;

0 comments on commit 2bfd693

Please sign in to comment.