mirror of
https://github.com/rjNemo/ticket_manager
synced 2026-06-06 08:46:39 +00:00
12 lines
206 B
TypeScript
12 lines
206 B
TypeScript
import React, { FC } from "react";
|
|
|
|
interface IProps {
|
|
error: any;
|
|
}
|
|
export const ErrorPage: FC<IProps> = ({ error }) => {
|
|
return (
|
|
<div className="section">
|
|
<p>{error}</p>
|
|
</div>
|
|
);
|
|
};
|