diff --git a/src/components/views/elements/EventTilePreview.tsx b/src/components/views/elements/EventTilePreview.tsx index 0696ee566e..332f3ac333 100644 --- a/src/components/views/elements/EventTilePreview.tsx +++ b/src/components/views/elements/EventTilePreview.tsx @@ -107,7 +107,7 @@ export default class EventTilePreview extends React.Component { userId: this.props.userId, getAvatarUrl: (..._) => { return Avatar.avatarUrlForUser( - {avatarUrl: this.props.avatarUrl}, + { avatarUrl: this.props.avatarUrl }, AVATAR_SIZE, AVATAR_SIZE, "crop", ); },