Skip to content

Commit

Permalink
chore: add missing defaults check
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed May 27, 2023
1 parent 88d5ff6 commit 1553e44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/composables/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export function provideDefaults (
properties = properties.prev
}

if (typeof root === 'string' && root in properties) {
if (properties && typeof root === 'string' && root in properties) {
properties = mergeDeep(mergeDeep(properties, { prev: properties }), properties[root])
}

Expand Down

0 comments on commit 1553e44

Please sign in to comment.