adding icon in prompt

This commit is contained in:
Geriano
2022-07-18 14:53:40 +07:00
parent ef7dd19d2a
commit 59f76e983a

View File

@@ -75,6 +75,7 @@ const destroy = async (role, refresh) => {
const response = await Swal.fire({
title: 'Are you sure?',
text: 'You can\'t restore it after deleted',
icon: 'question',
showCancelButton: true,
showCloseButton: true,
})