DEV: Resolve `getOwner` deprecations (#97)

This commit is contained in:
Jarek Radosz 2024-07-05 22:00:31 +02:00 committed by GitHub
parent 31e41f2212
commit 5a44de5714
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
import EmberObject from "@ember/object";
import { getOwner } from "@ember/owner";
import { emojiUrlFor } from "discourse/lib/text";
import { getOwner } from "discourse-common/lib/get-owner";
import I18n from "I18n";
import { showUserNotes } from "discourse/plugins/discourse-user-notes/discourse-user-notes/lib/user-notes";

View File

@ -1,4 +1,4 @@
import { getOwner } from "discourse-common/lib/get-owner";
import { getOwner } from "@ember/owner";
import { showUserNotes } from "discourse/plugins/discourse-user-notes/discourse-user-notes/lib/user-notes";
export default {