File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ import {
1919 notificationState ,
2020 convertTypeToStatus ,
2121} from '@codesandbox/common/lib/utils/notifications' ;
22- import { NotificationStatus } from '@codesandbox/notifications' ;
2322import 'normalize.css' ;
2423import theme from '@codesandbox/common/lib/theme' ;
2524import { isSafari } from '@codesandbox/common/lib/utils/platform' ;
@@ -90,22 +89,6 @@ async function boot(overmind) {
9089 onUpdated : ( ) => {
9190 debug ( 'Updated SW' ) ;
9291 getSignal ( 'setUpdateStatus' ) ( { status : 'available' } ) ;
93-
94- notificationState . addNotification ( {
95- title : 'CodeSandbox Update Available' ,
96- message :
97- 'We just installed a new version of CodeSandbox, refresh to update!' ,
98- status : NotificationStatus . SUCCESS ,
99- sticky : true ,
100- actions : {
101- primary : [
102- {
103- run : ( ) => document . location . reload ( ) ,
104- label : 'Reload Page' ,
105- } ,
106- ] ,
107- } ,
108- } ) ;
10992 } ,
11093 onInstalled : ( ) => {
11194 debug ( 'Installed SW' ) ;
You can’t perform that action at this time.
0 commit comments