diff --git a/packages/core/useConfirmDialog/demo.vue b/packages/core/useConfirmDialog/demo.vue index 8f391633509..6547740e37a 100644 --- a/packages/core/useConfirmDialog/demo.vue +++ b/packages/core/useConfirmDialog/demo.vue @@ -3,11 +3,11 @@ import { useConfirmDialog } from '@vueuse/core' import { shallowRef } from 'vue' const message = shallowRef('') -const revaled1 = shallowRef(false) -const revaled2 = shallowRef(false) +const revealed1 = shallowRef(false) +const revealed2 = shallowRef(false) -const dialog1 = useConfirmDialog(revaled1) -const dialog2 = useConfirmDialog(revaled2) +const dialog1 = useConfirmDialog(revealed1) +const dialog2 = useConfirmDialog(revealed2) dialog1.onReveal(() => { message.value = 'Modal is shown!' @@ -42,14 +42,14 @@ dialog2.onCancel(() => { {{ message }} -
+

Show Second Dialog?

@@ -66,7 +66,7 @@ dialog2.onCancel(() => {
-
+

Confirm or Reject