Skip to content

Commit

Permalink
refactor(dialog): use defuProps to accurately merge props
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-solanki committed Jan 2, 2023
1 parent 8a048b3 commit 0e63d05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/anu-vue/src/components/dialog/ADialog.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<script lang="ts" setup>
import { defu } from 'defu'
import type { Ref } from 'vue'
import { ACard, cardProps } from '@/components/card'
import { useDOMScrollLock } from '@/composables/useDOMScrollLock'
import { defuProps } from '@/composables/useProps'
import { useTeleport } from '@/composables/useTeleport'
const props = defineProps(defu({
const props = defineProps(defuProps({
/**
* Show/Hide menu base on v-model value
*/
Expand Down

0 comments on commit 0e63d05

Please sign in to comment.