добавила в инпуты запись в стейты

This commit is contained in:
Nastya 2023-12-29 16:35:25 +03:00
parent 1eda324705
commit b91cc475fe
2 changed files with 9 additions and 2 deletions

@ -161,7 +161,14 @@ export const ContactForm = ({
my: "20px" my: "20px"
}} }}
> >
<Inputs /> <Inputs
name={name} setName={setName}
email={email} setEmail={setEmail}
phone={phone} setPhone={setPhone}
text={text} setText={setText}
adress={adress} setAdress={setAdress}
/>
</Box> </Box>

@ -18,7 +18,7 @@ const QID =
process.env.NODE_ENV === "production" ? process.env.NODE_ENV === "production" ?
window.location.pathname.replace(/\//g, '') window.location.pathname.replace(/\//g, '')
: :
"6e96e958-d30e-49f6-aa85-32aaef975733" "6955f170-f0f8-4b04-9be1-b8e3906fca5c"
export const ViewPage = () => { export const ViewPage = () => {