Skip to content

Commit

Permalink
FIX: getOwner deprecation (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
chapoi authored Jan 18, 2024
1 parent 0bc5e02 commit 9f375ef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion javascripts/discourse/components/discourse-tag-banners.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Component from "@glimmer/component";
import { tracked } from "@glimmer/tracking";
import { action } from "@ember/object";
import { inject as service } from "@ember/service";
import { getOwner } from "discourse-common/lib/get-owner";
import { getOwner } from "@ember/application";

export default class DiscourseTagBanners extends Component {
@service store;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Component from "@ember/component";
import { tracked } from "@glimmer/tracking";
import { getOwner } from "discourse-common/lib/get-owner";
import { getOwner } from "@ember/application";

export default class extends Component {
@tracked categoryBannerPresence = null;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Component from "@ember/component";
import { tracked } from "@glimmer/tracking";
import { getOwner } from "discourse-common/lib/get-owner";
import { getOwner } from "@ember/application";

export default class extends Component {
@tracked categoryBannerPresence = null;
Expand Down

0 comments on commit 9f375ef

Please sign in to comment.