From ae8329c590908ed1f011e7fc8235fb8d2423bb6d Mon Sep 17 00:00:00 2001 From: Peng Xiao Date: Thu, 23 Nov 2023 09:20:12 +0000 Subject: [PATCH] chore(core): update react-resizable-panels (#5041) `react-resizable-panels` will throw some errors sometime when showing history modal dialog. I haven't checked the root cause, but upgrade it to the latest will get rid of the error. --- packages/frontend/core/package.json | 2 +- .../core/src/components/page-detail-editor.tsx | 4 ++-- yarn.lock | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/frontend/core/package.json b/packages/frontend/core/package.json index 2d20a935b7..c7d2195939 100644 --- a/packages/frontend/core/package.json +++ b/packages/frontend/core/package.json @@ -71,7 +71,7 @@ "react-dom": "18.2.0", "react-error-boundary": "^4.0.11", "react-is": "18.2.0", - "react-resizable-panels": "^0.0.55", + "react-resizable-panels": "^0.0.61", "react-router-dom": "^6.16.0", "rxjs": "^7.8.1", "ses": "^0.18.8", diff --git a/packages/frontend/core/src/components/page-detail-editor.tsx b/packages/frontend/core/src/components/page-detail-editor.tsx index 5cb4c47eac..8447ca0d73 100644 --- a/packages/frontend/core/src/components/page-detail-editor.tsx +++ b/packages/frontend/core/src/components/page-detail-editor.tsx @@ -289,7 +289,7 @@ const LayoutPanel = memo(function LayoutPanel( className={depth === 0 ? editorContainer : undefined} >