From 732d57f56cdc6f5d109b86cd6d5a05b35f2066ec Mon Sep 17 00:00:00 2001 From: Horatiu Muresan Date: Tue, 19 Apr 2022 12:23:34 +0300 Subject: [PATCH] fix --- react/features/toolbox/components/web/Toolbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/features/toolbox/components/web/Toolbox.js b/react/features/toolbox/components/web/Toolbox.js index 8785f6d1f..49f68613c 100644 --- a/react/features/toolbox/components/web/Toolbox.js +++ b/react/features/toolbox/components/web/Toolbox.js @@ -871,7 +871,7 @@ class Toolbox extends Component { * @returns {string|undefined} - The button's notify mode. */ _getButtonNotifyMode(btnName) { - const notify = this.props._buttonsWithNotifyClick.find( + const notify = this.props._buttonsWithNotifyClick?.find( (btn: string | Object) => (typeof btn === 'string' && btn === btnName) || (typeof btn === 'object' && btn.key === btnName)