Skip to content

Commit b19a887

Browse files
authored
Revert-new-sw (#927)
* Revert "change to new sw impl" This reverts commit 3081504. * chore(website): charSet -> charset in root.tsx
1 parent 06a42ce commit b19a887

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

apps/website/src/root.tsx

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1+
import { component$, useContextProvider, useStore, useStyles$ } from '@builder.io/qwik';
12
import {
2-
component$,
3-
PrefetchGraph,
4-
PrefetchServiceWorker,
5-
useContextProvider,
6-
useStore,
7-
useStyles$,
8-
} from '@builder.io/qwik';
9-
import { QwikCityProvider, RouterOutlet } from '@builder.io/qwik-city';
3+
QwikCityProvider,
4+
RouterOutlet,
5+
ServiceWorkerRegister,
6+
} from '@builder.io/qwik-city';
107

118
import { APP_STATE_CONTEXT_ID } from './_state/app-state-context-id';
129
import { AppState } from './_state/app-state.type';
@@ -46,11 +43,10 @@ export default component$(() => {
4643
return (
4744
<QwikCityProvider>
4845
<head>
49-
<meta charSet="utf-8" />
46+
<meta charset="utf-8" />
5047
<link rel="manifest" href="/manifest.json" />
5148
<RouterHead />
52-
<PrefetchGraph />
53-
<PrefetchServiceWorker />
49+
<ServiceWorkerRegister />
5450
</head>
5551
<body lang="en">
5652
<ThemeProvider

0 commit comments

Comments
 (0)