Skip to content

Commit

Permalink
Revert "chore(docs): use prefetch service worker" (QwikDev#6786)
Browse files Browse the repository at this point in the history
This reverts commit 42f3940.
  • Loading branch information
maiieul authored Aug 13, 2024
1 parent 2175345 commit b6171cc
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions packages/docs/src/root.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
import {
PrefetchGraph,
PrefetchServiceWorker,
component$,
useContextProvider,
useStore,
} from '@builder.io/qwik';
import { QwikCityProvider, RouterOutlet } from '@builder.io/qwik-city';
import { component$, useContextProvider, useStore } from '@builder.io/qwik';
import { QwikCityProvider, RouterOutlet, ServiceWorkerRegister } from '@builder.io/qwik-city';
import RealMetricsOptimization from './components/real-metrics-optimization/real-metrics-optimization';
import { RouterHead } from './components/router-head/router-head';
import { GlobalStore, type SiteStore } from './context';
Expand Down Expand Up @@ -60,8 +54,7 @@ export default component$(() => {
<meta charset="utf-8" />
<script dangerouslySetInnerHTML={uwu} />
<RouterHead />
<PrefetchServiceWorker />
<PrefetchGraph />
<ServiceWorkerRegister />
{/* <script dangerouslySetInnerHTML={`(${collectSymbols})()`} /> */}
<Insights publicApiKey={import.meta.env.PUBLIC_QWIK_INSIGHTS_KEY} />
</head>
Expand Down

0 comments on commit b6171cc

Please sign in to comment.