I want to make a lot of variables like the below code.
I think if I use the maps
function it will work, but it does not work.
Could you teach me how to reduce the code?
const name = useInput("");
const area = useInput("");
const job = useInput("");
const company = useInput("");
const school = useInput("");
const tall = useInput("");
const body = useInput("");
const religion = useInput("");
const smoking = useInput("");
const blood = useInput("");
const birthday = useInput("");
const kakao = useInput("");
const image1 = useInput("");
const image2 = useInput("");
const image3 = useInput("");
const introduction = useInput("");