From 5603d59ace4c274459801da7b1e90ca07ca9b0d0 Mon Sep 17 00:00:00 2001 From: Shivam7-1 <55046031+Shivam7-1@users.noreply.github.com> Date: Tue, 16 Apr 2024 17:45:42 +0530 Subject: [PATCH] Update main.ts --- src/public/scripts/main.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); };