Skip to content

Commit

Permalink
Merge pull request #131 from Shivam7-1/patch-1
Browse files Browse the repository at this point in the history
Update main.ts DOM text reinterpreted as HTML
  • Loading branch information
agektmr authored Apr 19, 2024
2 parents 9435eb1 + 5603d59 commit a2d5683
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 a2d5683

Please sign in to comment.