minor tweak

This commit is contained in:
Reinaldo Neto 2023-04-24 23:29:51 -03:00
parent 1d47c62bba
commit 954e4c3e2d
1 changed files with 2 additions and 0 deletions

View File

@ -31,7 +31,9 @@ const Blocks = React.memo(
},
(prevProps, nextProps) => {
if (
// @ts-ignore
('type' in prevProps.blocks[0] && prevProps.blocks[0].type === 'video_conf') ||
// @ts-ignore
('type' in nextProps.blocks[0] && nextProps.blocks[0].type === 'video_conf')
) {
// Avoid multiple request on the VideoConferenceBlock