You've already forked AstralRinth
forked from didirus/AstralRinth
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user