refactor: refs #8120 use only defineProps

This commit is contained in:
Jon Elias 2025-01-13 16:19:24 +01:00
parent 19e8b948ae
commit b52956d27d
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<script setup>
import { useDialogPluginComponent } from 'quasar';
const $props = defineProps({
defineProps({
id: {
type: Number,
required: true,
@ -22,7 +22,7 @@ const { dialogRef, onDialogHide } = useDialogPluginComponent();
</script>
<template>
<QDialog ref="dialogRef" @hide="onDialogHide">
<component :is="$props.summary" :id="$props.id" :class="$props.moduleClass" />
<component :is="summary" :id="id" :class="moduleClass" />
</QDialog>
</template>