форма контактов нормально показывает поля

This commit is contained in:
Nastya 2023-12-24 10:57:30 +03:00
parent 31ebbf3ea5
commit fbdd854073
2 changed files with 3 additions and 2 deletions

@ -241,9 +241,10 @@ const Inputs = (currentQuestion: any) => {
const Adress = <CustomInput onChange={({ target }) => setAdress(target.value)} id={adress} title={FC["address"].innerText || "Введите адрес"} desc={FC["address"].text || "адрес"} Icon={AddressIcon} />
console.log(FC)
//@ts-ignore
if (items.some((data) => data.used)) {
if (Object.values(FC).some((data) => data.used)) {
return <>
{FC["name"].used ? Name : <></>}
{FC["email"].used ? Email : <></>}

@ -16,7 +16,7 @@ const QID =
process.env.NODE_ENV === "production" ?
window.location.pathname.replace(/\//g, '')
:
"d9c352bb-8423-483c-9ca2-9398d1d5c60e"
"e883eccc-78b0-47bb-98b9-66d2cb0cf51d"
export const ViewPage = () => {