Skip to content

Commit

Permalink
Reverse the defaults arguments order
Browse files Browse the repository at this point in the history
  • Loading branch information
adamziel committed Oct 5, 2021
1 parent d19fc48 commit c51e06b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/navigation/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function Navigation( {

// The context is used by the navigation editor to override specific
// navigation block settings.
const navContext = defaults( CONTEXT_DEFAULTS, navigation );
const navContext = defaults( navigation, CONTEXT_DEFAULTS );

const { selectBlock } = useDispatch( blockEditorStore );

Expand Down

0 comments on commit c51e06b

Please sign in to comment.