From abf7c46ee4a141130c768edb2150ac582b115d62 Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Fri, 31 Jan 2020 16:51:31 +1100 Subject: [PATCH] disable completely borders for profile images --- ts/components/Avatar.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ts/components/Avatar.tsx b/ts/components/Avatar.tsx index 91a643722..6adb05d16 100644 --- a/ts/components/Avatar.tsx +++ b/ts/components/Avatar.tsx @@ -207,15 +207,17 @@ export class Avatar extends React.PureComponent { : this.renderIdenticon(); } - private getBorderStyle(color?: string, width?: number) { - const borderWidth = typeof width === 'number' ? width : 3; + private getBorderStyle(_color?: string, _width?: number) { + //const borderWidth = typeof width === 'number' ? width : 3; - return color + // no border at all for now + return undefined; + /* return color ? { borderColor: color, borderStyle: 'solid', borderWidth: borderWidth, } - : undefined; + : undefined; */ } }