мобильный чат

This commit is contained in:
Nastya 2024-02-17 20:31:39 +03:00
parent 0221e61843
commit 5df9a1ea21

@ -73,7 +73,7 @@ export default function FloatingSupportChat() {
onClose={handleClose}
TransitionComponent={Transition}
>
<Chat onclickArrow={handleClose} />
<Chat open={open} onclickArrow={handleClose} />
</Dialog>
<Fab
disableRipple
@ -94,7 +94,7 @@ export default function FloatingSupportChat() {
variant={"extended"}
onClick={() => {
if (isMobile) {
setOpen(true);
handleClickOpen();
} else {
setIsChatOpened((prev) => !prev);
}