Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
Reset needs to set empty profile
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminaaron committed May 23, 2024
1 parent 310aaa4 commit ac10908
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@ <h3>Report</h3>

async function clearUserProfile() {
localStorage.clear()
userProfile = EMPTY_PROFILE
localStorage.setItem("userProfile", JSON.stringify(userProfile))
await update()
}
Expand Down

0 comments on commit ac10908

Please sign in to comment.