* Add 404 and 500 page Co-authored-by: hashrock <hashrock@users.noreply.github.com>
This commit is contained in:
co-authored by
hashrock
parent
55f657827f
commit
3431555f95
@@ -44,20 +44,18 @@ export default function DefaultErrorPage(props: ErrorPageProps) {
|
||||
>
|
||||
An error occured during route handling or page rendering.
|
||||
</p>
|
||||
{message && (
|
||||
<pre
|
||||
style={{
|
||||
margin: 0,
|
||||
fontSize: "12pt",
|
||||
overflowY: "auto",
|
||||
padding: 16,
|
||||
paddingTop: 0,
|
||||
fontFamily: "monospace",
|
||||
}}
|
||||
>
|
||||
{message && <pre
|
||||
style={{
|
||||
margin: 0,
|
||||
fontSize: "12pt",
|
||||
overflowY: "auto",
|
||||
padding: 16,
|
||||
paddingTop: 0,
|
||||
fontFamily: "monospace",
|
||||
}}
|
||||
>
|
||||
{message}
|
||||
</pre>
|
||||
)}
|
||||
</pre>}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user