Skip to content

Commit 193a0ec

Browse files
author
Ives van Hoorne
committed
Remove sw cache console.logs for cleaner devtools console
1 parent d441e40 commit 193a0ec

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/common/registerServiceWorker.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ function registerValidSW(swUrl, sendNotification) {
5454
// the fresh content will have been added to the cache.
5555
// It's the perfect time to display a "New content is
5656
// available; please refresh." message in your web app.
57-
console.log('New content is available; please refresh.');
58-
5957
if (sendNotification) {
6058
sendNotification(
6159
'CodeSandbox received an update, refresh to see it!',
@@ -68,8 +66,6 @@ function registerValidSW(swUrl, sendNotification) {
6866
// At this point, everything has been precached.
6967
// It's the perfect time to display a
7068
// "Content is cached for offline use." message.
71-
console.log('Content is cached for offline use.');
72-
7369
if (sendNotification) {
7470
sendNotification(
7571
'CodeSandbox has been cached, it now works offline.',

0 commit comments

Comments
 (0)