From 18e2232e9e9fd2bc60121210b942b8102d9530f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Wed, 1 Sep 2021 11:21:07 +0200 Subject: [PATCH] fix(toolbox) fix warning due to missing key prop --- react/features/toolbox/components/web/Toolbox.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/react/features/toolbox/components/web/Toolbox.js b/react/features/toolbox/components/web/Toolbox.js index af14e5f4e..e2adbe2ab 100644 --- a/react/features/toolbox/components/web/Toolbox.js +++ b/react/features/toolbox/components/web/Toolbox.js @@ -1,6 +1,6 @@ // @flow -import React, { Component } from 'react'; +import React, { Component, Fragment } from 'react'; import keyboardShortcut from '../../../../../modules/keyboardshortcut/keyboardshortcut'; import { @@ -1266,13 +1266,13 @@ class Toolbox extends Component { const showSeparator = index > 0 && arr[index - 1].group !== group; return (key !== 'raisehand' || !_reactionsEnabled) - && <> + && {showSeparator && } - + ; })}