Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
Update docs/content/3.api/1.composables/use-cookie.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 authored Jun 10, 2022
1 parent 2a526b7 commit 332ace9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/3.api/1.composables/use-cookie.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ You can use `useCookie` and `setCookie` from [`h3`](https://github.com/unjs/h3)
**Example:**

```js
export default defineEventHandler((event)=>{
export default defineEventHandler(event => {
// Read counter cookie
let counter = useCookie(event, 'counter') || 0

Expand Down

0 comments on commit 332ace9

Please sign in to comment.