Skip to content

Commit

Permalink
Keep deprectated setup consistent across blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
apeatling authored and stacimc committed Jan 13, 2021
1 parent 3fd3945 commit 5d69c47
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/**
* Internal Dependencies
*/
import deprecatedV1 from './v1';

export default [ deprecatedV1 ];
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
export default [
{
attributes: {},
supports: {
inserter: false,
html: false,
},
save: () => <div className="wp-block-premium-content-subscriber-view"></div>,
export default {
attributes: {},
supports: {
inserter: false,
html: false,
},
];
save: () => <div className="wp-block-premium-content-subscriber-view"></div>,
};
2 changes: 1 addition & 1 deletion extensions/blocks/premium-content/subscriber-view/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
import edit from './edit';
import save from './save';
import deprecated from './deprecated/v1';
import deprecated from './deprecated';
import icon from '../_inc/icon.js';

/**
Expand Down

0 comments on commit 5d69c47

Please sign in to comment.