Skip to content

Commit 2f44045

Browse files
Fix: grammar fix in index.md (#948)
Update index.md Fix grammar. "There's a" => "There are a"
1 parent b1cb6c7 commit 2f44045

File tree

1 file changed

+1
-1
lines changed
  • apps/svelte.dev/content/tutorial/01-svelte/02-reactivity/04-inspecting-state

1 file changed

+1
-1
lines changed

apps/svelte.dev/content/tutorial/01-svelte/02-reactivity/04-inspecting-state/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ It's often useful to be able to track the value of a piece of state as it change
66

77
Inside the `addNumber` function, we've added a `console.log` statement. But if you click the button and open the console drawer (using the button to the right of the URL bar), you'll see a warning, and a message saying the message could not be cloned.
88

9-
That's because `numbers` is a reactive [proxy](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy). There's a couple of things we can do. Firstly, we can create a non-reactive _snapshot_ of the state with `$state.snapshot(...)`:
9+
That's because `numbers` is a reactive [proxy](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy). There are a couple of things we can do. Firstly, we can create a non-reactive _snapshot_ of the state with `$state.snapshot(...)`:
1010

1111
```js
1212
/// file: App.svelte

0 commit comments

Comments
 (0)