I am using confirmdialog in primevue and get this error:
[Vue warn]: injection "Symbol()" not found
I have no idea what this error is and how to fix it. Can anyone help me please? Here is my source code
const deleteCategory = () => {
confirm.require({
message: 'Are you sure you want to proceed?',
header: 'Confirmation',
icon: 'pi pi-exclamation-triangle',
accept: () => {
notification.showMessage("Successfully!");
},
reject: () => {
router.push({ name: "CategoriesPage" });
}
});
}
confirm.require({
– Bathroom