fix: error "27" (#5122)

* fix: error 27

* fix: sentry only in prod

* fix: sentry env

* Revert "fix: error 27"

This reverts commit 66ee482a0567a5e53326e576b1bc6af0542a7fe3.

* feat: attempt to fix error 27
This commit is contained in:
Calum H.
2026-01-15 00:38:23 +00:00
committed by GitHub
parent 3ffa78aa07
commit 454c708fd6
6 changed files with 39 additions and 11 deletions

View File

@@ -1,9 +1,8 @@
<script setup lang="ts">
import IntlMessageFormat, { type FormatXMLElementFn, type PrimitiveType } from 'intl-messageformat'
import { computed, useSlots, type VNode } from 'vue'
import { useI18n } from 'vue-i18n'
import type { MessageDescriptor } from '../../composables/i18n'
import { getSafeI18n, type MessageDescriptor } from '../../composables/i18n'
const props = defineProps<{
messageId: MessageDescriptor
@@ -11,7 +10,7 @@ const props = defineProps<{
}>()
const slots = useSlots()
const { t, locale } = useI18n()
const { t, locale } = getSafeI18n()
const formattedParts = computed(() => {
const key = props.messageId.id