Skip to content

Commit

Permalink
Remove unnecessary __experimentalStyles migration
Browse files Browse the repository at this point in the history
  • Loading branch information
noisysocks committed Jan 19, 2023
1 parent 6655011 commit 478a51a
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/block-editor/src/components/block-preview/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export function BlockPreview( {
additionalStyles = [],
// Deprecated props:
__experimentalMinHeight,
__experimentalStyles,
__experimentalPadding,
} ) {
if ( __experimentalMinHeight ) {
Expand All @@ -36,15 +35,6 @@ export function BlockPreview( {
alternative: 'minHeight',
} );
}
if ( __experimentalStyles ) {
additionalStyles = __experimentalStyles;
deprecated( 'The __experimentalStyles prop of BlockPreview', {
plugin: 'Gutenberg',
since: '15.0',
version: '15.2',
alternative: 'additionalStyles',
} );
}
if ( __experimentalPadding ) {
additionalStyles = [
...additionalStyles,
Expand Down

0 comments on commit 478a51a

Please sign in to comment.