Skip to content

Commit 5395ddf

Browse files
authored
docs: fixed typo in docs (#7282)
1 parent e99b1af commit 5395ddf

File tree

1 file changed

+2
-2
lines changed
  • packages/docs/src/routes/docs/(qwik)/getting-started

1 file changed

+2
-2
lines changed

packages/docs/src/routes/docs/(qwik)/getting-started/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,8 @@ export default component$(() => {
367367

368368
In Qwik, a [task](/docs/components/tasks/#usetask) is work that needs to happen when a state changes. (This is similar to an "effect" in other frameworks.) In this example, we use the task to invoke code on the server.
369369

370-
1. Import `useTask$` from `qwik` and `$server` from `qwik-city`.
371-
```tsx /useTask\$/ /\$server/
370+
1. Import `useTask$` from `qwik` and `server$` from `qwik-city`.
371+
```tsx /useTask\$/ /server\$/
372372
import { component$, useSignal, useTask$ } from "@builder.io/qwik";
373373
import {
374374
routeLoader$,

0 commit comments

Comments
 (0)