diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-10-30 12:44:11 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-11-11 18:15:27 +0100 |
| commit | 0e52a59917406ad03c174e030c6c1c92ab23449d (patch) | |
| tree | 693bbcc5edbe78ebd2f0050fddbc45c706e0ba61 /src/components/organisms/forms/index.ts | |
| parent | 84a679b0e48ed76eee2fa44d3caac83591aa3c8c (diff) | |
refactor(components): extract SettingsForm component form SettingsModal
We could use an array of items and map over it instead of repeating the
Switch component for each settings but with translations, it becomes
quickly unreadable. So I prefer to keep separate components.
Diffstat (limited to 'src/components/organisms/forms/index.ts')
| -rw-r--r-- | src/components/organisms/forms/index.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/components/organisms/forms/index.ts b/src/components/organisms/forms/index.ts index e507895..324505e 100644 --- a/src/components/organisms/forms/index.ts +++ b/src/components/organisms/forms/index.ts @@ -1,7 +1,4 @@ -export * from './ackee-toggle'; export * from './comment-form'; export * from './contact-form'; -export * from './motion-toggle'; -export * from './prism-theme-toggle'; export * from './search-form'; -export * from './theme-toggle'; +export * from './settings-form'; |
