Skip to content

Commit

Permalink
Update main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivam7-1 authored Apr 16, 2024
1 parent 9435eb1 commit 5603d59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/public/scripts/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
};
Expand Down

0 comments on commit 5603d59

Please sign in to comment.