fix: various fixes (#4998)

* feat: check imports using ast

* fix: lint

* fix: loadericon

* fix: lint

* feat: remove usd warning

* fix: error.vue

* fix: lint
This commit is contained in:
Calum H.
2025-12-30 21:47:11 +00:00
committed by GitHub
parent 2f99628d94
commit 560f21c0fe
7 changed files with 407 additions and 100 deletions

View File

@@ -24,17 +24,17 @@
<IntlFormatted :message-id="item">
<template #status-link="{ children }">
<a href="https://status.modrinth.com" target="_blank" rel="noopener">
<component :is="() => children" />
<component :is="() => normalizeChildren(children)" />
</a>
</template>
<template #discord-link="{ children }">
<a href="https://discord.modrinth.com" target="_blank" rel="noopener">
<component :is="() => children" />
<component :is="() => normalizeChildren(children)" />
</a>
</template>
<template #tou-link="{ children }">
<nuxt-link :to="`/legal/terms`" target="_blank" rel="noopener">
<component :is="() => children" />
<component :is="() => normalizeChildren(children)" />
</nuxt-link>
</template>
</IntlFormatted>
@@ -55,6 +55,7 @@ import { SadRinthbot } from '@modrinth/assets'
import {
defineMessage,
IntlFormatted,
normalizeChildren,
NotificationPanel,
provideModrinthClient,
provideNotificationManager,