Skip to content

Commit

Permalink
fixed import typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ShafSpecs committed Sep 26, 2024
1 parent 41a7aee commit 373388b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posts/main/apis/default-fetch-handler.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ In Remix PWA, the fetch event is handled implicitly (behind-the-scenes) by runti
`defaultFetchHandler` should be defined in your service worker file, as mentioned earlier, they are the first fallback handler for all fetch requests.

```tsx {{ filename: 'entry.worker.ts' }}
import type { WorkerDataFunctionArgs } from '@remix-pwa/dev';
import type { WorkerDataFunctionArgs } from '@remix-pwa/sw';

export const defaultFetchHandler = async ({
request
Expand Down

0 comments on commit 373388b

Please sign in to comment.