Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
allowOutsideClick: () => !Swal.isLoading(),
allowEscapeKey: () => !Swal.isLoading(),
allowOutsideClick: () => !Swal.isLoading()
}).then(data => {
allowOutsideClick: () => !swal.isLoading()
}).then((result) => {
allowOutsideClick: () => !swal.isLoading()
}).then((result) => {
swalOpts.allowOutsideClick = () => !swal.isLoading();
}