otterscan/src/components/BlockNotFound.tsx
2022-02-18 04:11:10 -03:00

15 lines
374 B
TypeScript

import React from "react";
import ContentFrame from "../ContentFrame";
type BlockNotFoundProps = {
blockNumberOrHash: string;
};
const BlockNotFound: React.FC<BlockNotFoundProps> = ({ blockNumberOrHash }) => (
<ContentFrame>
<div className="py-4 text-sm">Block "{blockNumberOrHash}" not found.</div>
</ContentFrame>
);
export default React.memo(BlockNotFound);