Skip to content

Commit 1f877f8

Browse files
committed
typos and general import mess fixes
1 parent 05c0927 commit 1f877f8

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

apps/frontend/src/layouts/default.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,7 @@ const messages = defineMessages({
885885
revenue: {
886886
id: 'layout.nav.revenue',
887887
defaultMessage: 'Revenue',
888-
}
888+
},
889889
activeReports: {
890890
id: 'layout.nav.active-reports',
891891
defaultMessage: 'Active reports',

apps/frontend/src/pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
</div>
156156
<div class="blob-demonstration gradient-border">
157157
<div class="notifs-demo">
158-
<h3>{{ formatMessage(messages.notificationsHeading) }}</h3>
158+
<h3>{{ formatMessage(commonMessages.notificationsLabel) }}</h3>
159159
<div class="notifications">
160160
<div
161161
v-for="(notification, index) in notifications"

packages/ui/src/components/affiliate/AffiliateLinkCreateModal.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@
6666
import { AffiliateIcon, PlusIcon, SpinnerIcon, UserIcon, XIcon } from '@modrinth/assets'
6767
import { computed, ref, useTemplateRef } from 'vue'
6868
69-
import { commonMessages, defineMessages, useVIntl } from '../../composables/i18n'
69+
import { defineMessages, useVIntl } from '../../composables/i18n'
70+
import { commonMessages } from '../../utils/common-messages'
7071
import { AutoBrandIcon, Button, ButtonStyled, NewModal } from '../index'
7172
export type CreateAffiliateProps = { sourceName: string; username?: string }
7273

packages/ui/src/components/billing/PurchaseModal.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,8 @@ import dayjs from 'dayjs'
546546
import { computed, nextTick, reactive, ref, watch } from 'vue'
547547
import { Multiselect } from 'vue-multiselect'
548548
549-
import { defineMessages, useVIntl, paymentMethodMessages } from '../../composables/i18n'
549+
import { defineMessages, useVIntl } from '../../composables/i18n'
550+
import { commonMessages, paymentMethodMessages } from '../../utils/common-messages'
550551
import Admonition from '../base/Admonition.vue'
551552
import Checkbox from '../base/Checkbox.vue'
552553
import Slider from '../base/Slider.vue'

0 commit comments

Comments
 (0)