diff --git a/resources/assets/js/crop-image.js b/resources/assets/js/crop-image.js index c8fa584a..06b9d008 100644 --- a/resources/assets/js/crop-image.js +++ b/resources/assets/js/crop-image.js @@ -132,7 +132,10 @@ const CropImage = ( Object.values(errors.getAll()).forEach((bags) => { [...bags].forEach(({ value }) => - Livewire.dispatch("toastMessage", {message: value, type: "danger"}) + Livewire.dispatch("toastMessage", { + message: value, + type: "danger", + }) ); }); }); diff --git a/resources/assets/js/tags.js b/resources/assets/js/tags.js index 3663d3d2..a1be70ae 100644 --- a/resources/assets/js/tags.js +++ b/resources/assets/js/tags.js @@ -176,7 +176,7 @@ const Tags = ( }, displayLivewireToast(message) { if (typeof livewire !== "undefined") { - livewire.dispatch("toastMessage", {message, type: "warning"}); + livewire.dispatch("toastMessage", { message, type: "warning" }); } }, hideTooltip() {