diff --git a/src/actions/index.js b/src/actions/index.js index 5ef5eb0..38ba96a 100644 --- a/src/actions/index.js +++ b/src/actions/index.js @@ -249,10 +249,10 @@ export function requestPlacePixel( } dispatch(pixelFailure()); - swal({ + swal.fire({ title: (errorTitle || `Error ${response.status}`), text: errors[0].msg, - type: 'error', + icon: 'error', confirmButtonText: 'OK', }); } catch (e) {