DEV: Update `SpreadsheetEditor` to use `@glimmer/component` (#13)

Now that all of our singletons have been converted to true Ember Services, we can remove our custom `discourse/component/glimmer` superclass and use explicit injection
This commit is contained in:
Keegan George 2022-08-11 11:59:08 -07:00 committed by GitHub
parent 7b37c6acc1
commit 388c4a58e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -5,14 +5,14 @@ import {
findTableRegex,
tokenRange,
} from "../discourse-table-builder/lib/utilities";
import GlimmerComponent from "discourse/components/glimmer";
import Component from "@glimmer/component";
import { ajax } from "discourse/lib/ajax";
import { popupAjaxError } from "discourse/lib/ajax-error";
import I18n from "I18n";
import { schedule } from "@ember/runloop";
import { tracked } from "@glimmer/tracking";
export default class SpreadsheetEditor extends GlimmerComponent {
export default class SpreadsheetEditor extends Component {
@tracked showEditReason = false;
spreadsheet = null;
defaultColWidth = 150;