Files
explore/ui/shared/entities/tx/TxEntityZetaChainCC.tsx

14 lines
407 B
TypeScript

import React from 'react';
import { route } from 'nextjs/routes';
import * as TxEntity from './TxEntity';
const TxEntityZetaChainCC = (props: TxEntity.EntityProps) => {
const defaultHref = route({ pathname: '/cc/tx/[hash]', query: { hash: props.hash } });
return <TxEntity.default { ...props } icon={{ name: 'interop' }} href={ props.href ?? defaultHref }/>;
};
export default TxEntityZetaChainCC;