Skip to content

Commit

Permalink
Forgot the array spread
Browse files Browse the repository at this point in the history
  • Loading branch information
michalczaplinski committed May 25, 2023
1 parent 4e89f5c commit 410a966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/src/hooks/behaviors.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const withBehaviors = createHigherOrderComponent( ( BlockEdit ) => {
behaviorName.slice( 1 ).toLowerCase(),
} ) );

const options = [ noBehaviorsOption, behaviorsOptions ];
const options = [ noBehaviorsOption, ...behaviorsOptions ];

return (
<>
Expand Down

0 comments on commit 410a966

Please sign in to comment.