Make English the repository working language (#5)

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Yaowei Zheng
2026-07-20 17:45:02 +08:00
committed by GitHub
parent e80cde0ea6
commit 0eaaa54e25
136 changed files with 1515 additions and 1352 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ export function ThemeProvider({ children }: { children: ReactNode }) {
export function useTheme(): ThemeContextValue {
const ctx = useContext(ThemeContext);
if (!ctx) throw new Error("useTheme 必须在 ThemeProvider 内使用");
if (!ctx) throw new Error("useTheme must be used within a ThemeProvider");
return ctx;
}