From d6ffb50e85573cb17ee52a797b84de5e6cedb044 Mon Sep 17 00:00:00 2001 From: wwsun Date: Mon, 20 Nov 2023 15:41:34 +0800 Subject: [PATCH] fix: pass down sandbox props --- packages/designer/src/sandbox/sandbox.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/designer/src/sandbox/sandbox.tsx b/packages/designer/src/sandbox/sandbox.tsx index 49938c5..f37f7eb 100644 --- a/packages/designer/src/sandbox/sandbox.tsx +++ b/packages/designer/src/sandbox/sandbox.tsx @@ -119,6 +119,7 @@ const PreviewSandbox = observer( startRoute, injectScript, sandboxType: 'preview', + ...rest, }); return ( @@ -166,6 +167,7 @@ const DesignSandbox = observer( startRoute, injectScript, sandboxType: 'design', + ...rest, }); return (