From bd9b2f0bb91239a6bc87ae21feac8c7d66f5995d Mon Sep 17 00:00:00 2001
From: lonkaars <l.leblansch@gmail.com>
Date: Fri, 5 Feb 2021 17:00:10 +0100
Subject: undefined round attr compilation error

---
 components/account.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'components/account.tsx')

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)
 		}}/>;
 	}
 }
-- 
cgit v1.2.3

