Browse Source
useTheme returned a plain object, so template access to theme.isDark didn't track reactive dependencies. wrapping with reactive() ensures ref auto-unwrapping and proper change detection.main
1 changed files with 3 additions and 3 deletions
Loading…
Reference in new issue