fix: bump eslint-plugin-prettier from 4.2.1 to 5.2.1

Committer: Aamer Aryan <aameraryan@gmail.com>
This commit is contained in:
Aamer Aryan
2024-08-31 04:45:25 +05:30
committed by Aamer
parent 80df494787
commit 5c9e6404cc
8 changed files with 95 additions and 62 deletions

View File

@@ -19,15 +19,11 @@ export default function DeleteConvModal({
const dispatch = useDispatch();
const { isMobile } = useMediaQuery();
const { t } = useTranslation();
useOutsideAlerter(
modalRef,
() => {
if (isMobile && modalState === 'ACTIVE') {
dispatch(setModalState('INACTIVE'));
}
},
[modalState],
);
useOutsideAlerter(modalRef, () => {
if (isMobile && modalState === 'ACTIVE') {
dispatch(setModalState('INACTIVE'));
}
}, [modalState]);
function handleSubmit() {
handleDeleteAllConv();