error page

This commit is contained in:
Karol Wypchlo 2021-02-08 17:30:55 +01:00
parent ed8f53f0a6
commit 9ba10b5928
1 changed files with 2 additions and 2 deletions

View File

@ -49,10 +49,10 @@ export default function Error({ errors }) {
{errors.map((error, index) => (
<div className={`${index > 1 ? "mt-3 sm:mt-5" : ""} text-center`}>
<h3 className="text-lg leading-6 font-medium text-gray-900" id="modal-headline">
{error.code} - {error.status}
{error.code} - {error.message}
</h3>
<div className="mt-2">
<p className="text-sm text-gray-500">{error.message}</p>
<p className="text-sm text-gray-500">{error.reason}</p>
</div>
</div>
))}