diff --git a/server/server.go b/server/server.go index 4cc811c..5776080 100644 --- a/server/server.go +++ b/server/server.go @@ -42,7 +42,6 @@ import ( reset daily Limits for users Make sure account endpoints make sense for admins UI: - - Align size of message bar and upgrade banner - flicker of upgrade banner - JS constants - useContext for account diff --git a/web/src/components/Account.js b/web/src/components/Account.js index 63e7338..c08e0d3 100644 --- a/web/src/components/Account.js +++ b/web/src/components/Account.js @@ -200,12 +200,8 @@ const Stats = () => { {" "}{account.tier ? `(with ${account.tier.name} tier)` : `(no tier)`} } - {account.role === "user" && account.tier && - <>{account.tier.name} - } - {account.role === "user" && !account.tier && - t("account_usage_tier_none") - } + {account.role === "user" && account.tier && account.tier.name} + {account.role === "user" && !account.tier && t("account_usage_tier_none")} {config.enable_payments && account.role === "user" && (!account.tier || !account.tier.paid) &&