mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 11:47:23 +03:00
Appease the linter
This commit is contained in:
parent
d5b264b7a0
commit
2cd431db1c
1 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,7 @@ export default class EventTilePreview extends React.Component<IProps, IState> {
|
|||
|
||||
private fakeEvent({userId, displayname, avatar_url: avatarUrl}: IState) {
|
||||
// Fake it till we make it
|
||||
/* eslint-disable quote-props */
|
||||
const rawEvent = {
|
||||
type: "m.room.message",
|
||||
sender: userId,
|
||||
|
@ -102,6 +103,7 @@ export default class EventTilePreview extends React.Component<IProps, IState> {
|
|||
room_id: "!999999999999999999:example.org",
|
||||
};
|
||||
const event = new MatrixEvent(rawEvent);
|
||||
/* eslint-enable quote-props */
|
||||
|
||||
// Fake it more
|
||||
event.sender = {
|
||||
|
|
Loading…
Reference in a new issue