From 7342c94bd00ab427e222c67c4e2fc163c95ac1bf Mon Sep 17 00:00:00 2001 From: mokinzhao Date: Sat, 27 Mar 2021 13:34:35 +0800 Subject: [PATCH] Revert "feat:test" This reverts commit 61d99416b8f522efe9188eef269ad5c3532efc44. --- src/pages/editor/Container.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/editor/Container.tsx b/src/pages/editor/Container.tsx index db9920cb..56eed21a 100644 --- a/src/pages/editor/Container.tsx +++ b/src/pages/editor/Container.tsx @@ -92,7 +92,7 @@ const Container = (props: { return (data: any) => { dispatch({ type: 'editorModal/modPointData', - payload: { ...curPoint, item: { ...curPoint?.item, config: data } }, + payload: { ...curPoint, item: { ...curPoint.item, config: data } }, }); }; }, [curPoint, dispatch]);