Skip to content

Commit

Permalink
docs(theme): theme.global.name/current shouldn't have .value (#19588)
Browse files Browse the repository at this point in the history
  • Loading branch information
crazyrabbit0 committed Apr 11, 2024
1 parent 5dda985 commit 83bb5b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/src/pages/en/features/theme.md
Expand Up @@ -165,7 +165,7 @@ import { useTheme } from 'vuetify'
const theme = useTheme()
function toggleTheme () {
theme.global.name.value = theme.global.current.value.dark ? 'light' : 'dark'
theme.global.name = theme.global.current.dark ? 'light' : 'dark'
}
</script>
```
Expand Down

0 comments on commit 83bb5b4

Please sign in to comment.