From b35ed16b8c651ae02cc09c89c90c36e290925c8b Mon Sep 17 00:00:00 2001 From: Carrotzpc Date: Fri, 6 Sep 2024 17:52:29 +0800 Subject: [PATCH] fix(SSR): handle custom page --- src/layouts/DocLayout/DocumentLayout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/DocLayout/DocumentLayout.tsx b/src/layouts/DocLayout/DocumentLayout.tsx index a05a5e0..4d38de5 100644 --- a/src/layouts/DocLayout/DocumentLayout.tsx +++ b/src/layouts/DocLayout/DocumentLayout.tsx @@ -125,7 +125,7 @@ const DocumentLayout = memo(() => { return ( <> - {outlet} + {clientRender && outlet} ); }