diff --git a/src/shared/components/common/pictrs-image.tsx b/src/shared/components/common/pictrs-image.tsx index f1285129..1d2b72da 100644 --- a/src/shared/components/common/pictrs-image.tsx +++ b/src/shared/components/common/pictrs-image.tsx @@ -21,16 +21,13 @@ export class PictrsImage extends Component { } render() { - return ( - - - - - {this.alt()} { this.props.iconOverlay, "avatar-pushup": this.props.pushup, })} - /> - - ); + > + + {this.alt()} + + ); + } else { + return ( + + + + + {this.alt()} + + ); + } } src(format: string): string { @@ -62,7 +93,6 @@ export class PictrsImage extends Component { const host = split[0]; const path = split[1]; - const params = { format }; if (this.props.thumbnail) {