From 6f01f90b286ceace5c6a9eb76c337c6f51469b4f Mon Sep 17 00:00:00 2001 From: Gauthier Roebroeck Date: Thu, 29 May 2025 11:07:26 +0800 Subject: [PATCH] type check --- next-ui/src/components/ThemeSelector.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/next-ui/src/components/ThemeSelector.vue b/next-ui/src/components/ThemeSelector.vue index fdc3fd05..d01fd46d 100644 --- a/next-ui/src/components/ThemeSelector.vue +++ b/next-ui/src/components/ThemeSelector.vue @@ -32,7 +32,7 @@ const themeIcon = computed( function cycleTheme() { const index = themes.findIndex(x => x.value === appStore.theme) const newIndex = (index + 1) % themes.length - appStore.theme = themes[newIndex]?.value + appStore.theme = themes[newIndex]!.value }