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

13 lines
214 B
TypeScript

import { useRouter } from 'next/router';
const MarketPage = () => {
const router = useRouter();
return (
<div>
<h1>Market: {router.query.marketId}</h1>
</div>
);
};
export default MarketPage;