chore: rm eslint-config-prettier and eslint-plugin-react-refresh

This commit is contained in:
Simon
2026-04-08 21:58:03 +08:00
parent 9ebb629aca
commit ebe3a3f7c3
4 changed files with 2 additions and 35 deletions

View File

@@ -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')