diff --git a/gatsby-browser.js b/gatsby-browser.js index 2ff0ee3e..1626bd79 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 }) => (