From 2faf2e34331703b3bdea3eb487cb8799c8d65377 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Tue, 19 Sep 2023 18:13:57 +0200 Subject: 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. --- src/utils/providers/prism-theme.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/utils/providers/prism-theme.tsx') diff --git a/src/utils/providers/prism-theme.tsx b/src/utils/providers/prism-theme.tsx index dd8feb7..6ecbb1d 100644 --- a/src/utils/providers/prism-theme.tsx +++ b/src/utils/providers/prism-theme.tsx @@ -1,6 +1,3 @@ -import useAttributes from '@utils/hooks/use-attributes'; -import useLocalStorage from '@utils/hooks/use-local-storage'; -import useQuerySelectorAll from '@utils/hooks/use-query-selector-all'; import { createContext, FC, @@ -10,6 +7,9 @@ import { useEffect, useState, } from 'react'; +import useAttributes from '../hooks/use-attributes'; +import useLocalStorage from '../hooks/use-local-storage'; +import useQuerySelectorAll from '../hooks/use-query-selector-all'; export type PrismTheme = 'dark' | 'light' | 'system'; export type ResolvedPrismTheme = Exclude; -- cgit v1.2.3