Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo committed Jul 7, 2024
1 parent 6505b8a commit 309f807
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions apps/meteor/client/views/root/AppErrorPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,13 @@ const AppErrorPage = (_props: AppErrorPageProps): ReactElement => {
<StatesActions>
<StatesAction
onClick={() => {
indexedDB.deleteDatabase('MeteorDynamicImportCache');
window.location.reload();
const result = indexedDB.deleteDatabase('MeteorDynamicImportCache');
result.onsuccess = () => {
window.location.reload();
};
result.onerror = () => {
window.location.reload();
};
}}
>
Reload Application
Expand Down

0 comments on commit 309f807

Please sign in to comment.