Billing / plus frontend (#2130)

* [wip] initial

* [wip] subscriptions/plus frontend

* [wip] finish payment flow

* Charges page

* finish most subscriptions work

* Finish

* update eslint

* Fix issues

* fix intl extract

* fix omorphia locale extract

* fix responsiveness

* fix lint
This commit is contained in:
Geometrically
2024-08-15 23:21:30 -07:00
committed by GitHub
parent 1b3744baa2
commit 3a4843fb46
44 changed files with 2353 additions and 201 deletions

View File

@@ -32,7 +32,7 @@
<BoxIcon />
{{
formatMessage(messages.projectsCountLabel, {
count: formatCompactNumber(user.follows.length),
count: formatCompactNumber(user ? user.follows.length : 0),
})
}}
</div>
@@ -127,8 +127,8 @@ useHead({
title: () => `${formatMessage(messages.collectionsLongTitle)} - Modrinth`,
});
const user = await useUser();
const auth = await useAuth();
const user = await useUser();
if (import.meta.client) {
await initUserFollows();