X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=resources%2Fjs%2Fcomponents%2Fcommon%2FErrorMessage.js;h=2430bc24199de6ee13629a342d54d9efe0ad5db9;hb=10ae1e5461441e2f124fb93d55372b15aba1beff;hp=8829de7a46f109706c042e32f2a8464876d0791e;hpb=edd0e97bfdc544114f30bf4c13a929631c44a555;p=alttp.git diff --git a/resources/js/components/common/ErrorMessage.js b/resources/js/components/common/ErrorMessage.js index 8829de7..2430bc2 100644 --- a/resources/js/components/common/ErrorMessage.js +++ b/resources/js/components/common/ErrorMessage.js @@ -12,6 +12,12 @@ const ErrorMessage = ({ error }) => {
{i18n.t(`error.${error.response.status}.description`)}
; } + if (error.message) { + return{error.message}
+