Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
asvae committed Sep 21, 2023
1 parent 9161f7c commit 11b0ab2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui/src/composables/useSize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ export const useSizeProps = {

sizesConfig: {
type: Object as PropType<Record<string, any>>,
default: () => sizesConfig[getCurrentInstance()?.type.name ?? 'default'],
default: () => sizesConfig[getCurrentInstance()?.type.name ?? 'default'] ?? sizesConfig.default,
},

fontSizesConfig: {
type: Object as PropType<Record<string, any>>,
default: () => fontSizesConfig[getCurrentInstance()?.type.name ?? 'default'],
default: () => fontSizesConfig[getCurrentInstance()?.type.name ?? 'default'] ?? fontSizesConfig.default,
},
}

Expand Down

0 comments on commit 11b0ab2

Please sign in to comment.