From 997c7ffc96fd71e4be7ec01194481bfccc414b51 Mon Sep 17 00:00:00 2001 From: Jorik Schellekens Date: Thu, 18 Jun 2020 15:26:53 +0100 Subject: [PATCH] Add missing semicolons --- src/components/views/elements/MessagePreview.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/views/elements/MessagePreview.tsx b/src/components/views/elements/MessagePreview.tsx index 5d65ac8977..95df8aa477 100644 --- a/src/components/views/elements/MessagePreview.tsx +++ b/src/components/views/elements/MessagePreview.tsx @@ -55,12 +55,12 @@ export default class MessagePreview extends React.Component { userId: "@erim:fink.fink", displayname: "Erimayas Fink", avatar_url: null, - } + }; } async componentDidMount() { // Fetch current user data - const client = MatrixClientPeg.get() + const client = MatrixClientPeg.get(); const userId = client.getUserId(); const profileInfo = await client.getProfileInfo(userId); const avatar_url = Avatar.avatarUrlForUser( @@ -97,7 +97,7 @@ export default class MessagePreview extends React.Component { }, "event_id": "$9999999999999999999999999999999999999999999", "room_id": "!999999999999999999:matrix.org" - }`)) + }`)); // Fake it more event.sender = { @@ -106,7 +106,7 @@ export default class MessagePreview extends React.Component { getAvatarUrl: (..._) => { return avatar_url; }, - } + }; } @@ -124,6 +124,6 @@ export default class MessagePreview extends React.Component { return
-
+ ; } }