vega-frontend-monorepo/apps/trading/pages/markets/[marketId].tsx

13 lines
214 B
TypeScript
Raw Normal View History

2022-02-17 05:03:46 +00:00
import { useRouter } from 'next/router';
const MarketPage = () => {
const router = useRouter();
return (
<div>
<h1>Market: {router.query.marketId}</h1>
</div>
);
};
export default MarketPage;