Skip to content

Commit

Permalink
Rename action --> newAttributes
Browse files Browse the repository at this point in the history
  • Loading branch information
michalczaplinski committed Feb 28, 2024
1 parent 1ac627f commit 1b91609
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-editor/src/hooks/use-bindings-attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ function BlockBindingBridge( { blockProps, bindings, onPropValueChange } ) {

const withBlockBindingSupport = createHigherOrderComponent(
( BlockEdit ) => ( props ) => {
function attributeReducer( state, action ) {
return { ...state, ...action };
function attributeReducer( state, newAttibutes ) {
return { ...state, ...newAttibutes };
}

/*
Expand Down

0 comments on commit 1b91609

Please sign in to comment.