'use client' import { useFormState } from 'react-dom' export function Form({ id, action }) { const [state, formAction] = useFormState(action, '') return ( <> {state &&
{state}
}
) }