From d4fe9f5c43bed46118579c3a1d531e8fdceba0fc Mon Sep 17 00:00:00 2001 From: KnoX1568 Date: Tue, 28 May 2024 17:09:27 +0200 Subject: [PATCH] docs(theme): make toggleTheme function work (#19888) --- packages/docs/src/pages/en/features/theme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docs/src/pages/en/features/theme.md b/packages/docs/src/pages/en/features/theme.md index ce3aee9e81b..145916b3c78 100644 --- a/packages/docs/src/pages/en/features/theme.md +++ b/packages/docs/src/pages/en/features/theme.md @@ -165,7 +165,7 @@ import { useTheme } from 'vuetify' const theme = useTheme() function toggleTheme () { - theme.global.name = theme.global.current.dark ? 'light' : 'dark' + theme.global.name.value = theme.global.current.value.dark ? 'light' : 'dark' } ```