This commit is contained in:
Nastya 2024-01-05 20:39:25 +03:00
parent 35f0ccc93b
commit 37a7783cc0

@ -217,7 +217,7 @@ export const ContactForm = ({
enqueueSnackbar("повторите попытку позже")
}
if (settings?.cfg.resultInfo.when === "after" || settings?.cfg.resultInfo.when === "email" && !checkEmptyData({ resultData: resultQuestion })) {
if ((settings?.cfg.resultInfo.when === "after" || settings?.cfg.resultInfo.when === "email") && !checkEmptyData({ resultData: resultQuestion })) {
setShowContactForm(false)
setShowResultForm(true)
}
@ -340,7 +340,7 @@ const CustomInput = ({ title, desc, Icon, onChange }: any) => {
<TextField
onChange={onChange}
sx={{
width: "350px",
width: isMobile ? "300px" : "350px",
}}
placeholder={desc}
InputProps={{