diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-02-05 17:00:10 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-02-05 17:00:10 +0100 |
commit | bd9b2f0bb91239a6bc87ae21feac8c7d66f5995d (patch) | |
tree | 9bb7486afbd3fb69591f94bcf0a7ce90ea2acf49 | |
parent | faf61e578267b3a5e2f5e5e74e6ae238b19bd76a (diff) |
undefined round attr compilation error
-rw-r--r-- | components/account.tsx | 2 |
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) }}/>; } } |