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/hooks/use-article.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/utils/hooks/use-article.tsx') diff --git a/src/utils/hooks/use-article.tsx b/src/utils/hooks/use-article.tsx index e658407..f6512b2 100644 --- a/src/utils/hooks/use-article.tsx +++ b/src/utils/hooks/use-article.tsx @@ -1,9 +1,9 @@ -import { fetchAPI } from '@services/graphql/api'; -import { getArticleFromRawData } from '@services/graphql/articles'; -import { articleBySlugQuery } from '@services/graphql/articles.query'; -import { Article } from '@ts/types/app'; -import { RawArticle } from '@ts/types/raw-data'; import useSWR from 'swr'; +import { fetchAPI } from '../../services/graphql/api'; +import { getArticleFromRawData } from '../../services/graphql/articles'; +import { articleBySlugQuery } from '../../services/graphql/articles.query'; +import { Article } from '../../types/app'; +import { RawArticle } from '../../types/raw-data'; export type UseArticleConfig = { fallback?: Article; -- cgit v1.2.3