mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
14 lines
407 B
TypeScript
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;
|