aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/molecules/forms/prism-theme-toggle.tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2023-09-19 18:13:57 +0200
committerArmand Philippot <git@armandphilippot.com>2023-09-19 19:12:31 +0200
commit2faf2e34331703b3bdea3eb487cb8799c8d65377 (patch)
treededc6557ddaa8fedd42d9bdf77950f8f9168ebcb /src/components/molecules/forms/prism-theme-toggle.tsx
parentd1fe9e2164fc5c8fd767b456eecc2a4eb929a33f (diff)
refactor(build): replace paths aliases with relative paths
Using paths aliases starting with "@" can be confusing and can lead to conflict with existings modules. I prefer to use relative paths to avoid extra configuration in tools because of these aliases.
Diffstat (limited to 'src/components/molecules/forms/prism-theme-toggle.tsx')
-rw-r--r--src/components/molecules/forms/prism-theme-toggle.tsx9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/components/molecules/forms/prism-theme-toggle.tsx b/src/components/molecules/forms/prism-theme-toggle.tsx
index 5a4d8a9..b058230 100644
--- a/src/components/molecules/forms/prism-theme-toggle.tsx
+++ b/src/components/molecules/forms/prism-theme-toggle.tsx
@@ -1,8 +1,11 @@
-import Moon from '@components/atoms/icons/moon';
-import Sun from '@components/atoms/icons/sun';
-import { type PrismTheme, usePrismTheme } from '@utils/providers/prism-theme';
import { FC } from 'react';
import { useIntl } from 'react-intl';
+import {
+ type PrismTheme,
+ usePrismTheme,
+} from '../../../utils/providers/prism-theme';
+import Moon from '../../atoms/icons/moon';
+import Sun from '../../atoms/icons/sun';
import RadioGroup, {
type RadioGroupCallback,
type RadioGroupCallbackProps,