mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 10:15:43 +03:00
Return type
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
af7769ce93
commit
4cf4ab2266
1 changed files with 1 additions and 1 deletions
|
@ -439,7 +439,7 @@ export default class MImageBody extends React.Component<IProps, IState> {
|
|||
}
|
||||
|
||||
// Overidden by MStickerBody
|
||||
protected getPlaceholder(width: number, height: number) {
|
||||
protected getPlaceholder(width: number, height: number): JSX.Element {
|
||||
const blurhash = this.props.mxEvent.getContent().info[BLURHASH_FIELD];
|
||||
if (blurhash) return <Blurhash hash={blurhash} width={width} height={height} />;
|
||||
return <div className="mx_MImageBody_thumbnail_spinner">
|
||||
|
|
Loading…
Reference in a new issue