mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-03 08:25:06 +03:00
1be7dd1770
refs https://github.com/TryGhost/Ghost/issues/14101 - ran native classes codemod for koenig-editor in-repo-addon components - added `ember-classic-decorator` to addon's package.json to fix errors when importing Some files failed to convert automatically: ``` ❯ grep -rL "@classic\|default class" lib/koenig-editor/addon/components/**/*.js lib/koenig-editor/addon/components/koenig-alt-input.js lib/koenig-editor/addon/components/koenig-card-image.js lib/koenig-editor/addon/components/koenig-editor.js lib/koenig-editor/addon/components/koenig-toolbar.js ```
8 lines
166 B
JavaScript
8 lines
166 B
JavaScript
import Component from '@ember/component';
|
|
import classic from 'ember-classic-decorator';
|
|
|
|
@classic
|
|
export default class Nft extends Component {
|
|
payload = null;
|
|
}
|