From eddd59c49df902e90fed8a7cbaa4329b66725f16 Mon Sep 17 00:00:00 2001 From: m1k1o Date: Sat, 13 Feb 2021 12:31:13 +0100 Subject: [PATCH] fix client linter --- client/src/store/user.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/store/user.ts b/client/src/store/user.ts index a0c6763b..f792f3f5 100644 --- a/client/src/store/user.ts +++ b/client/src/store/user.ts @@ -49,9 +49,9 @@ export const mutations = mutationTree(state, { }, addMember(state, member: Member) { // remove html tags - let tmp = document.createElement("div"); - tmp.innerHTML = member.displayname; - member.displayname = tmp.textContent || tmp.innerText || ""; + let tmp = document.createElement('div') + tmp.innerHTML = member.displayname + member.displayname = tmp.textContent || tmp.innerText || '' state.members = { ...state.members,