aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--components/account.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/account.tsx b/components/account.tsx
index 3ebfbca..603e015 100644
--- a/components/account.tsx
+++ b/components/account.tsx
@@ -19,7 +19,7 @@ export class AccountAvatar extends Component<AccountAvatarProps> {
backgroundImage: image,
backgroundSize: "cover",
display: "inline-block",
- borderRadius: this.props.size / 2 * Number(this.props.round)
+ borderRadius: this.props.size / 2 * Number(this.props.round || 0)
}}/>;
}
}