Skip to content

Commit

Permalink
Fix destructured properties in deprecation scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Jul 12, 2020
1 parent 58d11ef commit dad622e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions extensions/blocks/subscriptions/deprecated/v3/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**
* Internal dependencies
*/
import attributes from './attributes';
import definedAttributes from './attributes';
import getSubscriptionsShortcode from './get-subscriptions-shortcode';

export default {
attributes,
save: ( { className, attrs } ) => getSubscriptionsShortcode( className, attrs ),
attributes: definedAttributes,
save: ( { className, attributes } ) => getSubscriptionsShortcode( className, attributes ),
};
8 changes: 4 additions & 4 deletions extensions/blocks/subscriptions/deprecated/v4/index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/**
* Internal dependencies
*/
import attributes from '../v3/attributes';
import definedAttributes from '../v3/attributes';
import getSubscriptionsShortcode from '../v3/get-subscriptions-shortcode';

export default {
attributes,
save: ( { className, attrs } ) =>
getSubscriptionsShortcode( className, attrs, 'check-text-defaults' ),
attributes: definedAttributes,
save: ( { className, attributes } ) =>
getSubscriptionsShortcode( className, attributes, 'check-text-defaults' ),
};

0 comments on commit dad622e

Please sign in to comment.