From e41fdd7caed5b9d75e381f92f8a865500b6fc50a Mon Sep 17 00:00:00 2001 From: robertpin Date: Wed, 8 Mar 2023 10:44:43 +0200 Subject: [PATCH] Renamed variable --- react/features/base/ui/components/web/DialogWithTabs.tsx | 4 ++-- .../features/settings/components/web/VirtualBackgroundTab.tsx | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/react/features/base/ui/components/web/DialogWithTabs.tsx b/react/features/base/ui/components/web/DialogWithTabs.tsx index 8a91913cc..eed895f3c 100644 --- a/react/features/base/ui/components/web/DialogWithTabs.tsx +++ b/react/features/base/ui/components/web/DialogWithTabs.tsx @@ -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()); }); diff --git a/react/features/settings/components/web/VirtualBackgroundTab.tsx b/react/features/settings/components/web/VirtualBackgroundTab.tsx index 621aa4b8e..83c6d7d5c 100644 --- a/react/features/settings/components/web/VirtualBackgroundTab.tsx +++ b/react/features/settings/components/web/VirtualBackgroundTab.tsx @@ -92,6 +92,7 @@ class VirtualBackgroundTab extends AbstractDialogTab { return (