Skip to content

Commit 0af6f20

Browse files
Fix grammar (#15533)
1 parent 5b9f0df commit 0af6f20

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
@@ -30,7 +30,7 @@ export const myGlobalState = $state({
3030
This has a few drawbacks though:
3131

3232
- it only safely works when your global state is only used client-side - for example, when you're building a single page application that does not render any of your components on the server. If your state ends up being managed and updated on the server, it could end up being shared between sessions and/or users, causing bugs
33-
- it may give the false impression that certain state is global when in reality it should only used in a certain part of your app
33+
- it may give the false impression that certain state is global when in reality it should only be used in a certain part of your app
3434

3535
To solve these drawbacks, Svelte provides a few `context` primitives which alleviate these problems.
3636

0 commit comments

Comments
 (0)