From 264109e44610207470ca43064f0463b4ed7865fe Mon Sep 17 00:00:00 2001 From: anshg1214 Date: Fri, 17 Nov 2023 14:09:57 +0000 Subject: [PATCH] feat: Add 'user' prop to EDITOR_PROPS --- src/client/helpers/props.js | 3 ++- src/server/routes/editor.tsx | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/client/helpers/props.js b/src/client/helpers/props.js index 5e2cfe55dd..0bb84072b1 100644 --- a/src/client/helpers/props.js +++ b/src/client/helpers/props.js @@ -32,7 +32,8 @@ const LAYOUT_PROPS = [ const EDITOR_PROPS = [ 'editor', - 'tabActive' + 'tabActive', + 'user' ]; export function extractLayoutProps(props) { diff --git a/src/server/routes/editor.tsx b/src/server/routes/editor.tsx index 8bc6fe8d3b..5f9e0f0a3c 100644 --- a/src/server/routes/editor.tsx +++ b/src/server/routes/editor.tsx @@ -333,7 +333,6 @@ router.get('/:id', async (req, res, next) => { const markup = ReactDOMServer.renderToString( { const markup = ReactDOMServer.renderToString( { const markup = ReactDOMServer.renderToString( { const markup = ReactDOMServer.renderToString(