Skip to content

Commit 01fef46

Browse files
Minor updates
1 parent 11d1b95 commit 01fef46

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/plugin/composables/__tests__/icons.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { describe, it, expect } from 'vitest';
2-
// import { inject } from 'vue';
32
import {
43
useGetIcon
54
} from '../icons';

src/plugin/composables/icons.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const useGetIcon: UseGetIcon = (options) => {
2525
const iconSet = defaultIcons[iconAbbv];
2626

2727
if (!iconSet) {
28-
throw new Error(`[VColorField]: No VColorField default ${iconOptions?.defaultSet} icon set found.`);
28+
throw new Error(`[VColorField]: No default ${iconOptions?.defaultSet} icon set found.`);
2929
}
3030

3131
const newIcon = iconSet[name];

0 commit comments

Comments
 (0)