Skip to content

Commit

Permalink
Opt to push instead of prepend amp-fit-text deprecation definition
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Jan 31, 2022
1 parent 4d138f2 commit d6f2460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/src/block-editor/helpers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const removeAmpFitTextFromBlocks = ( settings, name ) => {
}
}

settings.deprecated.unshift( {
settings.deprecated.push( {
supports: settings.supports,
attributes: {
...( settings.attributes || {} ),
Expand Down

0 comments on commit d6f2460

Please sign in to comment.