From cd8e65571b1d2c6316bcaa7e3e747857d92aa15b Mon Sep 17 00:00:00 2001 From: Vrishabh Jasani <71686151+Vrishabhsk@users.noreply.github.com> Date: Mon, 13 Jan 2025 19:36:03 +0400 Subject: [PATCH] Block Directory : Block Inserter Search Infinity Spinner (#68600) Co-authored-by: Vrishabhsk Co-authored-by: Mamaduka --- packages/block-directory/src/store/resolvers.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/block-directory/src/store/resolvers.js b/packages/block-directory/src/store/resolvers.js index cd13ba5ccd7134..b697b1dd630297 100644 --- a/packages/block-directory/src/store/resolvers.js +++ b/packages/block-directory/src/store/resolvers.js @@ -35,5 +35,7 @@ export const getDownloadableBlocks = ); dispatch( receiveDownloadableBlocks( blocks, filterValue ) ); - } catch {} + } catch { + dispatch( receiveDownloadableBlocks( [], filterValue ) ); + } };