Skip to content

Commit 2c489f5

Browse files
authored
Update documentation/docs/06-runtime/02-context.md
1 parent 4832351 commit 2c489f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/docs/06-runtime/02-context.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Context is not inherently reactive. If you need reactive values in context then
8080
```svelte
8181
<!--- file: Child.svelte --->
8282
<script>
83-
import { setContext } from 'svelte';
83+
import { getContext } from 'svelte';
8484
8585
const value = getContext('counter');
8686
</script>

0 commit comments

Comments
 (0)