Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

remove annoying confirmation dialog box

Amruth Pillai5bf9d5ae9ebf
diff --git a/gatsby-browser.js b/gatsby-browser.js
index 2ff0ee3e5..1626bd79b 100644
--- a/gatsby-browser.js
+++ b/gatsby-browser.js
@@ -27,17 +27,6 @@ const theme = createMuiTheme({
},
});
-export const onServiceWorkerUpdateReady = () => {
- // eslint-disable-next-line no-alert
- const answer = window.confirm(
- `This application has been updated. ` +
- `Reload to display the latest version?`,
- );
- if (answer === true) {
- window.location.reload();
- }
-};
-
// eslint-disable-next-line import/prefer-default-export
export const wrapRootElement = ({ element }) => (
<SettingsProvider>