Skip to content

Commit 3c58c79

Browse files
committed
Remove unrequired formatting
1 parent 53d42f3 commit 3c58c79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/profile.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ async function addUserInfo (uok: UsernameOrKaid): Promise<void> {
5252
trTag.appendChild(tdLabelTag);
5353
const tdEntryTag = document.createElement("td");
5454
if (entry !== "More info") {
55-
tdEntryTag.textContent = `${entries[entry]}`;
55+
tdEntryTag.textContent = entries[entry].toString();
5656
} else {
5757
const profileLinkTag = document.createElement("a");
5858
profileLinkTag.href = `${userEndpoint}/profile?${uok.type}=${uok.id}&format=pretty`;
5959
profileLinkTag.target = "_blank";
60-
profileLinkTag.textContent = `${entries[entry]}`;
60+
profileLinkTag.textContent = entries[entry].toString();
6161
tdEntryTag.appendChild(profileLinkTag);
6262
}
6363
trTag.appendChild(tdEntryTag);

0 commit comments

Comments
 (0)