disable completely borders for profile images

pull/776/head
Audric Ackermann 5 years ago
parent 9a8eca2b50
commit abf7c46ee4
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -207,15 +207,17 @@ export class Avatar extends React.PureComponent<Props, State> {
: this.renderIdenticon(); : this.renderIdenticon();
} }
private getBorderStyle(color?: string, width?: number) { private getBorderStyle(_color?: string, _width?: number) {
const borderWidth = typeof width === 'number' ? width : 3; //const borderWidth = typeof width === 'number' ? width : 3;
return color // no border at all for now
return undefined;
/* return color
? { ? {
borderColor: color, borderColor: color,
borderStyle: 'solid', borderStyle: 'solid',
borderWidth: borderWidth, borderWidth: borderWidth,
} }
: undefined; : undefined; */
} }
} }

Loading…
Cancel
Save