refactor: update a few dev deps and convert to using type imports where possible (#2886)
* build: bump deps and add some new eslint rules * refactor: run eslint --fix on code to convert to type imports where possible
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
import { useContext } from 'react';
|
||||
import {
|
||||
LanguageContext,
|
||||
LanguageContextProps,
|
||||
} from '../context/LanguageContext';
|
||||
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