Remove unnecessary semicolons

This commit is contained in:
Jaiwanth 2021-05-22 11:38:32 +05:30
parent dfb7aa4320
commit 0bf65da70f

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