Remove unnecessary semicolons

pull/21833/head
Jaiwanth 2021-05-22 11:38:32 +05:30
parent dfb7aa4320
commit 0bf65da70f
1 changed files with 2 additions and 2 deletions

View File

@ -290,7 +290,7 @@ const getUserPic = async (event: MatrixEvent) => {
<div class="userpic" style="width: 42px;height: 42px;background-color: ${getUserColor(member.userId)}">
<div class="initials" style="line-height: 42px;" src="users/${member.userId}">
${event.sender.name[0]}
</div>;
</div>
</div>
</div>
`;
@ -386,7 +386,7 @@ const createMessageBody = async (event: MatrixEvent, joined = false, isReply = f
<div class="body">
<div class="pull_right date details" title="${new Date(event.getTs())}">
${new Date(event.getTs()).toLocaleTimeString().slice(0, -3)}
</div>;
</div>
${!joined ? `<div class="from_name" style="color:${getUserColor(event.sender.name)}">
${event.sender.name}
</div>`: ``}