From 19c6b1dfc3ad00918683130f74fbd0ba95bf2bfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Sat, 3 Oct 2026 19:09:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=EF=BC=9A=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=20auth.suite=20=E6=B3=A8=E9=87=8A=E9=94=99=E5=88=AB=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 「渲染函数子节点改编进 props」改为「改传进 props」 --- apps/ai-game-creator-shell/tests/appSurface/auth.suite.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ai-game-creator-shell/tests/appSurface/auth.suite.ts b/apps/ai-game-creator-shell/tests/appSurface/auth.suite.ts index c45157e5b..dacba04da 100644 --- a/apps/ai-game-creator-shell/tests/appSurface/auth.suite.ts +++ b/apps/ai-game-creator-shell/tests/appSurface/auth.suite.ts @@ -68,7 +68,7 @@ function renderAuthSurface( ) { const bridge = installTauriBridge(invoke, options); render( - // React 19 的 createElement 的 children 形参只接受 ReactNode,渲染函数子节点改编进 props。 + // React 19 的 createElement 的 children 形参只接受 ReactNode,渲染函数子节点改传进 props。 React.createElement(AuthenticatedClient, { children: ({ user, logout }) => React.createElement(