diff --git a/src/components/MobileLayout/MobileLayout.tsx b/src/components/MobileLayout/MobileLayout.tsx index de49c50..85f8ad0 100644 --- a/src/components/MobileLayout/MobileLayout.tsx +++ b/src/components/MobileLayout/MobileLayout.tsx @@ -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;