diff --git a/packages/frontend-embed/src/components/EmCustomEmoji.vue b/packages/frontend-embed/src/components/EmCustomEmoji.vue index fa4f1862c8..6d96f682e4 100644 --- a/packages/frontend-embed/src/components/EmCustomEmoji.vue +++ b/packages/frontend-embed/src/components/EmCustomEmoji.vue @@ -27,7 +27,9 @@ SPDX-License-Identifier: AGPL-3.0-only import { computed, inject, ref } from 'vue'; import { customEmojisMap } from '@/custom-emojis.js'; -const mediaProxy = inject('mediaProxy'); +import { DI } from '@/di.js'; + +const mediaProxy = inject(DI.mediaProxy); const props = defineProps<{ name: string; diff --git a/packages/frontend-embed/src/components/EmInstanceTicker.vue b/packages/frontend-embed/src/components/EmInstanceTicker.vue index 85b3381085..1fa1014276 100644 --- a/packages/frontend-embed/src/components/EmInstanceTicker.vue +++ b/packages/frontend-embed/src/components/EmInstanceTicker.vue @@ -13,7 +13,9 @@ SPDX-License-Identifier: AGPL-3.0-only