0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

style(console): prepend space for plan usage percentage (#4273)

This commit is contained in:
Xiao Yijun 2023-08-03 10:33:43 +08:00 committed by GitHub
parent 64e78024e0
commit caaaf18b4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ function PlanUsage({ subscriptionUsage, currentSubscription, currentPlan }: Prop
mauLimit.toLocaleString()
)}
{' MAU'}
{usagePercent && `(${(usagePercent * 100).toFixed(2)}%)`}
{usagePercent && ` (${(usagePercent * 100).toFixed(2)}%)`}
</div>
<div className={styles.planCycle}>
<DynamicT