chore: close eslint object sorting (#6101)

This commit is contained in:
Vben
2025-05-03 16:06:36 +08:00
committed by GitHub
parent 41152d1722
commit 17a18fc9ba
16 changed files with 668 additions and 319 deletions

View File

@@ -25,7 +25,7 @@ withDefaults(defineProps<{ shouldOnHover?: boolean }>(), {
shouldOnHover: false,
});
function handleChange(isDark: boolean) {
function handleChange(isDark: boolean | undefined) {
updatePreferences({
theme: { mode: isDark ? 'dark' : 'light' },
});