We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 26ee0f6 + dad93ef commit 38cfa97Copy full SHA for 38cfa97
src/use/useTheme.ts
@@ -16,7 +16,7 @@ export default function useTheme() {
16
export function useThemeName() {
17
const themeName = inject<ComputedRef<ThemeName>>('themeName');
18
19
- if (!themeName || !themeName.value) {
+ if (!themeName) {
20
throw new Error(
21
'No themeName was provided.'
22
);
0 commit comments