import { useState } from "react"; export default function CTAForm() { // TODO const [{ isSubmitted }, setState] = useState({ isSubmitted: false }); const onSubmit = () => setState({ isSubmitted: true }); return (
You're on the list! We will be in touch soon