fix sweetaleart to v8 upgrade

This commit is contained in:
HF 2020-01-04 03:29:20 +01:00
parent aa346024fa
commit 34a8ff0606

View File

@ -249,10 +249,10 @@ export function requestPlacePixel(
} }
dispatch(pixelFailure()); dispatch(pixelFailure());
swal({ swal.fire({
title: (errorTitle || `Error ${response.status}`), title: (errorTitle || `Error ${response.status}`),
text: errors[0].msg, text: errors[0].msg,
type: 'error', icon: 'error',
confirmButtonText: 'OK', confirmButtonText: 'OK',
}); });
} catch (e) { } catch (e) {