Skip to content

Commit

Permalink
Update Form.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
seelentov committed Jul 16, 2024
1 parent 96f3303 commit a32a5b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Form/Form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const Form = ({ type = 'default' }) => {
};

return (
<form className={cn(styles.form, type === 'default' && styles.default) + " modal-form"} onSubmit={handleSubmit}>
<form className={cn(styles.form, type === 'default' && styles.default) + " modal-form"}>
{type === 'default' &&
<>
<h2 className='text-header'>Закажите звонок</h2>
Expand All @@ -101,7 +101,7 @@ export const Form = ({ type = 'default' }) => {
/>}


<Button dubleText='Отправить'>
<Button dubleText='Отправить' onClick={handleSubmit}>
<YMClick child="Отправить" name="form_action" metrik_id={96723379} styleNest="display: inline" />
</Button>
</form>
Expand Down

0 comments on commit a32a5b6

Please sign in to comment.