Skip to content

Commit

Permalink
items can be null in getWidgetRenderState
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonn-Trimoreau committed Dec 21, 2022
1 parent de7723b commit 107af9e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ const connectMenu: MenuConnector = function connectMenu(
createURL: _createURL,
refine: _refine,
sendEvent,
canRefine: items.length > 0,
canRefine: items ? (items.length > 0) : false,
widgetParams,
isShowingMore,
toggleShowMore: cachedToggleShowMore,
Expand Down

0 comments on commit 107af9e

Please sign in to comment.