🚸 (js) Display last input if send message errored

This commit is contained in:
Baptiste Arnaud
2023-04-03 18:14:32 +02:00
parent a5d3f83c7f
commit 9f8398b9ae
7 changed files with 38 additions and 18 deletions

View File

@@ -5,6 +5,7 @@ export const ErrorMessage = (props: Props) => {
return (
<div class="h-full flex justify-center items-center flex-col">
<p class="text-2xl text-center">{props.error.message}</p>
<p class="text-center">{props.error.cause as string}</p>
</div>
)
}