diff --git a/components/lib/dialogservice/DialogService.js b/components/lib/dialogservice/DialogService.js index 21a84f47c..5d328159a 100644 --- a/components/lib/dialogservice/DialogService.js +++ b/components/lib/dialogservice/DialogService.js @@ -1,6 +1,6 @@ -import { markRaw } from 'vue'; -import { PrimeVueDialogSymbol } from 'primevue/usedialog'; import DynamicDialogEventBus from 'primevue/dynamicdialogeventbus'; +import { PrimeVueDialogSymbol } from 'primevue/usedialog'; +import { markRaw } from 'vue'; export default { install: (app) => { @@ -21,7 +21,7 @@ export default { } }; - app.config.unwrapInjectedRef = true; // Remove it after Vue 3.3. Details: https://vuejs.org/guide/components/provide-inject.html#working-with-reactivity + // app.config.unwrapInjectedRef = true; // Remove it after Vue 3.3. Details: https://vuejs.org/guide/components/provide-inject.html#working-with-reactivity app.config.globalProperties.$dialog = DialogService; app.provide(PrimeVueDialogSymbol, DialogService); }