форма контактов нормально показывает поля
This commit is contained in:
parent
31ebbf3ea5
commit
fbdd854073
@ -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} />
|
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
|
//@ts-ignore
|
||||||
if (items.some((data) => data.used)) {
|
if (Object.values(FC).some((data) => data.used)) {
|
||||||
return <>
|
return <>
|
||||||
{FC["name"].used ? Name : <></>}
|
{FC["name"].used ? Name : <></>}
|
||||||
{FC["email"].used ? Email : <></>}
|
{FC["email"].used ? Email : <></>}
|
||||||
|
|||||||
@ -16,7 +16,7 @@ const QID =
|
|||||||
process.env.NODE_ENV === "production" ?
|
process.env.NODE_ENV === "production" ?
|
||||||
window.location.pathname.replace(/\//g, '')
|
window.location.pathname.replace(/\//g, '')
|
||||||
:
|
:
|
||||||
"d9c352bb-8423-483c-9ca2-9398d1d5c60e"
|
"e883eccc-78b0-47bb-98b9-66d2cb0cf51d"
|
||||||
|
|
||||||
|
|
||||||
export const ViewPage = () => {
|
export const ViewPage = () => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user