made error text red
This commit is contained in:
parent
365bab73c6
commit
2af8ba5c15
@ -40,7 +40,7 @@ fn app() -> Html {
|
|||||||
}
|
}
|
||||||
if let Err(ref error) = *joke {
|
if let Err(ref error) = *joke {
|
||||||
<div>
|
<div>
|
||||||
<p>{error.to_string().clone()}</p>
|
<span class="error">{format!("Server Error: {error}")}</span>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
</>
|
</>
|
||||||
|
Reference in New Issue
Block a user