diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-11-04 17:14:25 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-11-11 18:15:27 +0100 |
| commit | c4a561c333f6f82678efcffef5ce3ed0f8e322f4 (patch) | |
| tree | be22fd77b2eb5d524ac1b967e71a2893ab7df400 /src/styles | |
| parent | ce4a18899f24ba89b63ef743476ec0dbf1999ecf (diff) | |
refactor(components): rewrite ContactForm component
* remove `Notice` props to handle it directly inside the form
* replace `sendMail` prop with `onSubmit` prop
* use `useForm` hook to handle fields
Diffstat (limited to 'src/styles')
| -rw-r--r-- | src/styles/pages/contact.module.scss | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/styles/pages/contact.module.scss b/src/styles/pages/contact.module.scss deleted file mode 100644 index 65fb0d6..0000000 --- a/src/styles/pages/contact.module.scss +++ /dev/null @@ -1,3 +0,0 @@ -.notice { - margin-top: var(--spacing-md); -} |
