Renamed variable

This commit is contained in:
robertpin 2023-03-08 10:44:43 +02:00
parent 304cc77a0e
commit e41fdd7cae
2 changed files with 3 additions and 2 deletions

View File

@ -215,8 +215,8 @@ const DialogWithTabs = ({
}
}, [ isMobile, userSelected, selectedTab ]);
const onClose = useCallback((isCancelled = true) => {
if (isCancelled) {
const onClose = useCallback((isCancel = true) => {
if (isCancel) {
tabs.forEach(({ cancel }) => {
cancel && dispatch(cancel());
});

View File

@ -92,6 +92,7 @@ class VirtualBackgroundTab extends AbstractDialogTab<IProps, any> {
return (
<div
className = { classes.container }
id = 'virtual-background-dialog'
key = 'virtual-background'>
<VirtualBackgrounds
_jitsiTrack = { _jitsiTrack }