Skip to content

Commit

Permalink
fix(useDisplay): keep default behavior when used without args (#20935)
Browse files Browse the repository at this point in the history
fixes #20932
  • Loading branch information
J-Sek authored Jan 29, 2025
1 parent 5ffe48d commit bb8b3f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/composables/display.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ export const makeDisplayProps = propsFactory({
}, 'display')

export function useDisplay (
props: DisplayProps = {},
props: DisplayProps = { mobile: null },
name = getCurrentInstanceName(),
) {
const display = inject(DisplaySymbol)
Expand Down

0 comments on commit bb8b3f8

Please sign in to comment.