diff --git a/src/public/scripts/main.ts b/src/public/scripts/main.ts index b415f81..9b31b91 100644 --- a/src/public/scripts/main.ts +++ b/src/public/scripts/main.ts @@ -106,10 +106,10 @@ const onSignout = async (e: any) => { $('#user-info').close(); await auth.signOut(); await _fetch('/auth/signout'); - icon.innerHTML = ''; + icon.innerText = ''; icon.setAttribute('icon', 'account_circle'); $('#drawer').open = false; - $('#credentials').innerHTML = ''; + $('#credentials').innerText = ''; showSnackbar('You are signed out.'); displaySignin(); };