From 486383637f6e2eeffccc91c107f091d56cfe9bb2 Mon Sep 17 00:00:00 2001 From: Tetsuaki Hamano Date: Fri, 18 Aug 2023 23:43:52 +0900 Subject: [PATCH] Use clientId instead of index --- .../src/components/list-view/block-select-button.js | 2 +- .../src/components/list-view/use-list-view-images.js | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/packages/block-editor/src/components/list-view/block-select-button.js b/packages/block-editor/src/components/list-view/block-select-button.js index c14cf0403be41e..33256791cb9628 100644 --- a/packages/block-editor/src/components/list-view/block-select-button.js +++ b/packages/block-editor/src/components/list-view/block-select-button.js @@ -194,7 +194,7 @@ function ListViewBlockSelectButton( { images.map( ( image, index ) => (