made error text red

This commit is contained in:
Bart Massey 2024-06-02 15:20:13 -07:00
parent 365bab73c6
commit 2af8ba5c15

View File

@ -40,7 +40,7 @@ fn app() -> Html {
}
if let Err(ref error) = *joke {
<div>
<p>{error.to_string().clone()}</p>
<span class="error">{format!("Server Error: {error}")}</span>
</div>
}
</>