Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
anish2690 committed Jul 24, 2021
1 parent 62965b8 commit b0876f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ import { useCookie } from 'vue-cookie-next'

defineComponent({
setup() {
const cookie = useCookie()
cookie.setCookie('theme', 'dark')
cookie.removeCookie('hover-time')
const { setCookie, removeCookie } = useCookie()
setCookie('theme', 'dark')
removeCookie('hover-time')
},
});
})
```

## API Options
Expand Down

0 comments on commit b0876f6

Please sign in to comment.