chore: rm eslint-config-prettier and eslint-plugin-react-refresh
This commit is contained in:
@@ -27,7 +27,6 @@ export function LanguageProvider({ children }: { children: ReactNode }) {
|
||||
)
|
||||
}
|
||||
|
||||
// eslint-disable-next-line react-refresh/only-export-components
|
||||
export function useLanguage() {
|
||||
const ctx = use(LanguageContext)
|
||||
if (!ctx) throw new Error('useLanguage must be used within LanguageProvider')
|
||||
|
||||
Reference in New Issue
Block a user