Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/tutorial/patterns/extends-context/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ import { Elysia } from 'elysia'

new Elysia()
.state('count', 0)
.get('/', ({ count }) => {
count++
.get('/', ({ store } }) => {
store.count++

return count
return store.count
})
```

Expand Down