fixed code v2
This commit is contained in:
@@ -124,13 +124,12 @@ function ContactFields({ form, errors, onChange, onPhoneChange }) {
|
||||
}
|
||||
|
||||
// ─── Submit button ──────────────────────────────────────────────────────────
|
||||
function SubmitButton({ loading, onSubmit }) {
|
||||
function SubmitButton({ loading }) {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<button
|
||||
className="f-m-submit"
|
||||
type="submit"
|
||||
onClick={onSubmit}
|
||||
disabled={loading}
|
||||
>
|
||||
<div className="f-m-submit-row">
|
||||
|
||||
Reference in New Issue
Block a user