Skip to content

Commit

Permalink
Add check so editor doesn't break
Browse files Browse the repository at this point in the history
  • Loading branch information
artemiomorales committed Sep 13, 2024
1 parent 1796a45 commit b7c326c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/block-editor/src/hooks/use-bindings-attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ export function getBindingsValues(
blockContext,
clientId
) {
if ( ! blockBindings ) {
return {};
}

const attributes = {};

const blockBindingsBySource = new Map();
Expand Down

0 comments on commit b7c326c

Please sign in to comment.