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/components/molecules/layout/code.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/molecules/layout/code.tsx') diff --git a/src/components/molecules/layout/code.tsx b/src/components/molecules/layout/code.tsx index 7e249d1..4eb9be3 100644 --- a/src/components/molecules/layout/code.tsx +++ b/src/components/molecules/layout/code.tsx @@ -1,8 +1,8 @@ +import { FC, useRef } from 'react'; import usePrism, { type OptionalPrismPlugin, type PrismLanguage, -} from '@utils/hooks/use-prism'; -import { FC, useRef } from 'react'; +} from '../../../utils/hooks/use-prism'; import styles from './code.module.scss'; export type CodeProps = { -- cgit v1.2.3