refactor: absolute imports with path alias (#2960) [skip ci]
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import type { LanguageContextProps } from '@app/context/LanguageContext';
|
||||
import { LanguageContext } from '@app/context/LanguageContext';
|
||||
import { useContext } from 'react';
|
||||
import type { LanguageContextProps } from '../context/LanguageContext';
|
||||
import { LanguageContext } from '../context/LanguageContext';
|
||||
|
||||
const useLocale = (): Omit<LanguageContextProps, 'children'> => {
|
||||
const languageContext = useContext(LanguageContext);
|
||||
|
||||
Reference in New Issue
Block a user