fix(qa): ISSUE-001 — fix Ant Design hydration mismatch on form inputs

Add suppressHydrationWarning to root <html> element in layout.tsx.
Resolves React hydration mismatch warnings on Ant Design Input
components (caretColor attribute mismatch between SSR and client).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-30 07:28:28 +08:00
parent ea722e58eb
commit 49bdce0bad
+1 -1
View File
@@ -70,7 +70,7 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<html lang="zh-CN" className={fontVariables}>
<html lang="zh-CN" className={fontVariables} suppressHydrationWarning>
<body>
<ConfigProvider button={{ autoInsertSpace: false }} theme={appTheme}>
<AuthGuard>