minor tweak
This commit is contained in:
parent
1d47c62bba
commit
954e4c3e2d
|
@ -31,7 +31,9 @@ const Blocks = React.memo(
|
||||||
},
|
},
|
||||||
(prevProps, nextProps) => {
|
(prevProps, nextProps) => {
|
||||||
if (
|
if (
|
||||||
|
// @ts-ignore
|
||||||
('type' in prevProps.blocks[0] && prevProps.blocks[0].type === 'video_conf') ||
|
('type' in prevProps.blocks[0] && prevProps.blocks[0].type === 'video_conf') ||
|
||||||
|
// @ts-ignore
|
||||||
('type' in nextProps.blocks[0] && nextProps.blocks[0].type === 'video_conf')
|
('type' in nextProps.blocks[0] && nextProps.blocks[0].type === 'video_conf')
|
||||||
) {
|
) {
|
||||||
// Avoid multiple request on the VideoConferenceBlock
|
// Avoid multiple request on the VideoConferenceBlock
|
||||||
|
|
Loading…
Reference in New Issue