diff --git a/react/features/toolbox/components/ToolbarButton.web.js b/react/features/toolbox/components/ToolbarButton.web.js index 897cbfdb3..90ad79151 100644 --- a/react/features/toolbox/components/ToolbarButton.web.js +++ b/react/features/toolbox/components/ToolbarButton.web.js @@ -156,13 +156,14 @@ class ToolbarButton extends Component { ); + let children = buttonComponent; const popupConfig = this._getPopupDisplayConfiguration(); if (popupConfig) { const { dataAttr, dataInterpolate, position } = popupConfig; - return ( + children = ( // eslint-disable-line no-extra-parens + { children } + + ); } /**