Merge branch 'tomainone' into 'staging'

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

See merge request frontend/squiz!197
This commit is contained in:
Nastya 2024-02-17 17:32:59 +00:00
commit 156d34d843

@ -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);
}