fix(auth): make things work
This commit is contained in:
@@ -11,7 +11,9 @@ export default function TotalPoints({ user }: TotalPointsProps) {
|
||||
<div>
|
||||
<Title>Total Points</Title>
|
||||
<Divider className={styles.divider} variant="dotted" />
|
||||
<p className={styles.points}>{user.membership.currentPoints}</p>
|
||||
<p className={styles.points}>
|
||||
{user.membership ? user.membership.currentPoints : "N/A"}
|
||||
</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user