Skip to content

Commit

Permalink
fix(pages/config): reload app on clear cache
Browse files Browse the repository at this point in the history
  • Loading branch information
AugustoL committed May 6, 2022
1 parent 9f0c1a5 commit b5cb2e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/Configuration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ const ConfigPage = observer(() => {
async function clearCache() {
localStorage.clear();
caches.delete(`dxvote-cache`);
window.location.reload();
}

return (
Expand Down

0 comments on commit b5cb2e3

Please sign in to comment.