vega-frontend-monorepo/apps/trading/pages/markets/index.tsx
2022-02-21 07:36:06 -08:00

15 lines
281 B
TypeScript

import Link from 'next/link';
import { useRouter } from 'next/router';
const Markets = () => {
const router = useRouter();
return (
<div>
<h1>Markets</h1>
<Link href={`${router.pathname}/ABC`}>View market ABC</Link>
</div>
);
};
export default Markets;