Skip to content

Commit 452b5df

Browse files
committed
Remove the update notification message
1 parent bab31d4 commit 452b5df

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

packages/app/src/app/index.js

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import {
1919
notificationState,
2020
convertTypeToStatus,
2121
} from '@codesandbox/common/lib/utils/notifications';
22-
import { NotificationStatus } from '@codesandbox/notifications';
2322
import 'normalize.css';
2423
import theme from '@codesandbox/common/lib/theme';
2524
import { 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');

0 commit comments

Comments
 (0)