mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 07:04:53 +09:00
15 lines
365 B
React
15 lines
365 B
React
import React from "react";
|
|
import { Typography } from "antd";
|
|
|
|
import PageLayout from "./PageLayout";
|
|
|
|
const { Paragraph } = Typography;
|
|
|
|
|
|
export default function ErrorPage(props) {
|
|
return <PageLayout nav={[{ name: "Error" }]}>
|
|
<h2>An unexpected error occured</h2>
|
|
<Paragraph code className="error-traceback">{props.error.stack}</Paragraph>
|
|
</PageLayout>;
|
|
};
|