diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-17 22:26:16 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-17 22:54:17 +0100 |
| commit | a6233863da4203bec781e817963ac3733279cab5 (patch) | |
| tree | b075753c4336b737d41c178451551c40c1016951 /src/components/Settings/Settings.tsx | |
| parent | 68138f0dcd8b3db2c23b31a20508726f245b5ba5 (diff) | |
refactor(settings): make toggle reusable
Toggle will be used for others settings so I extract the functionnality
from ThemeToggle.
Diffstat (limited to 'src/components/Settings/Settings.tsx')
| -rw-r--r-- | src/components/Settings/Settings.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Settings/Settings.tsx b/src/components/Settings/Settings.tsx index bfef851..7d5516c 100644 --- a/src/components/Settings/Settings.tsx +++ b/src/components/Settings/Settings.tsx @@ -1,5 +1,5 @@ import { CogIcon } from '@components/Icons'; -import ThemeToggle from '@components/ThemeToggle/ThemeToggle'; +import ThemeToggle from '@components/Settings/ThemeToggle/ThemeToggle'; import { t } from '@lingui/macro'; import styles from './Settings.module.scss'; |
