💄 Hide trailing decimal zeros
This commit is contained in:
1 parent
19f58211e7
commit
57a6c412d5
3 files changed
+5
-5
No files matched your search
@@ -27,7 +27,7 @@ export const UserCard = ({ user, onUser, active = false }: UserCardProps): JSX.E
|
||||
</div>
|
||||
<div className={styles.meta}>
|
||||
{user?.firstName || "Ekstern"}
|
||||
<span className={styles.balance}>{user?.profile?.balance || ""}</span>
|
||||
<span className={styles.balance}>{Number(user?.profile?.balance) || ""}</span>
|
||||
</div>
|
||||
</button>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user