mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-14 17:02:17 +02:00
Missing args
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
969be09210
commit
5f49b2d374
@ -438,7 +438,7 @@ export default class MImageBody extends React.Component<IProps, IState> {
|
||||
}
|
||||
|
||||
// Overidden by MStickerBody
|
||||
protected getPlaceholder() {
|
||||
protected getPlaceholder(width: number, height: number) {
|
||||
const blurhash = this.props.mxEvent.getContent().info[BLURHASH_FIELD];
|
||||
if (blurhash) return <BlurhashPlaceholder blurhash={blurhash} width={width} height={height} />;
|
||||
return <div className="mx_MImageBody_thumbnail_spinner">
|
||||
|
Loading…
x
Reference in New Issue
Block a user