From fa92a93d9542cc122ee67c873b1bf3e8bc952e2b Mon Sep 17 00:00:00 2001 From: Jarda Snajdr Date: Mon, 12 Dec 2022 14:17:03 +0100 Subject: [PATCH] Try fixing e2e tests by reverting rootClientId condition --- .../block-editor/src/components/block-list-appender/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-editor/src/components/block-list-appender/index.js b/packages/block-editor/src/components/block-list-appender/index.js index df075295b58bd9..fc1e624e9a15d5 100644 --- a/packages/block-editor/src/components/block-list-appender/index.js +++ b/packages/block-editor/src/components/block-list-appender/index.js @@ -56,7 +56,7 @@ function useAppender( rootClientId, CustomAppender ) { __unstableGetEditorMode() === 'zoom-out', isParentSelected: rootClientId === selectedBlockClientId || - ( rootClientId === '' && ! selectedBlockClientId ), + ( ! rootClientId && ! selectedBlockClientId ), }; }, [ rootClientId ]