Do not show new service worker toast (#2545)

This commit is contained in:
Paulus Schoutsen 2019-01-23 12:09:45 -08:00 committed by GitHub
parent d130471a99
commit a9df5ea6a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,8 @@ export default () => {
if (
installingWorker.state === "installed" &&
navigator.serviceWorker.controller &&
!__DEV__
!__DEV__ &&
!__DEMO__
) {
// Notify users here of a new frontend being available.
import(/* webpackChunkName: "show-new-frontend-toast" */ "./show-new-frontend-toast").then(