From 09263849d41ca3b1eeb6f63ab436e2430d3566f5 Mon Sep 17 00:00:00 2001 From: Kirill Toropov Date: Tue, 2 Jan 2024 07:32:49 -0700 Subject: [PATCH] Fix gallery page issues (#2685) --- docs/src/partials/gallery/preview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/partials/gallery/preview.js b/docs/src/partials/gallery/preview.js index 2ba4af090..0eaec633a 100644 --- a/docs/src/partials/gallery/preview.js +++ b/docs/src/partials/gallery/preview.js @@ -11,7 +11,7 @@ const defaultProps = { } // component from component-playground without updating const Preview = (_props) => { - const props = {...defaultProps,_props} + const props = {...defaultProps, ..._props} let ref = useRef(); const compileCode = () => {