aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/molecules/forms/switch/switch.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(hooks,provider): move reduce motion setterArmand Philippot2023-11-111-3/+1
| | | | | | | | | | Since the local storage key is not meant to change between the components, it should be set directly inside the app file. So both the local storage and the data attribute should be handle in a provider. I also added a custom document because we need a script to retrieve the stored value in local storage earlier to avoid flashing on hydration.
* refactor(components): make form components compliant with Eslint rulesArmand Philippot2023-11-111-18/+37
|
* refactor(components): rewrite form componentsArmand Philippot2023-10-241-0/+132