aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-02-05 17:00:10 +0100
committerlonkaars <l.leblansch@gmail.com>2021-02-05 17:00:10 +0100
commitbd9b2f0bb91239a6bc87ae21feac8c7d66f5995d (patch)
tree9bb7486afbd3fb69591f94bcf0a7ce90ea2acf49 /components
parentfaf61e578267b3a5e2f5e5e74e6ae238b19bd76a (diff)
undefined round attr compilation error
Diffstat (limited to 'components')
-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)
}}/>;
}
}