diff --git a/apps/trading/pages/_app.tsx b/apps/trading/pages/_app.tsx index 946bcfb13..cc130fb52 100644 --- a/apps/trading/pages/_app.tsx +++ b/apps/trading/pages/_app.tsx @@ -2,7 +2,7 @@ import { AppProps } from 'next/app'; import Head from 'next/head'; import './styles.css'; -function CustomApp({ Component, pageProps }: AppProps) { +function VegaTradingApp({ Component, pageProps }: AppProps) { return ( <>
@@ -15,4 +15,4 @@ function CustomApp({ Component, pageProps }: AppProps) { ); } -export default CustomApp; +export default VegaTradingApp; diff --git a/apps/trading/pages/index.tsx b/apps/trading/pages/index.tsx index 8af331ad1..67377f322 100644 --- a/apps/trading/pages/index.tsx +++ b/apps/trading/pages/index.tsx @@ -1,417 +1,32 @@ import styles from './index.module.scss'; import { EtherscanLink } from '@vegaprotocol/ui-toolkit'; import { ReactHelpers } from '@vegaprotocol/react-helpers'; +import { useRouter } from 'next/router'; +import Link from 'next/link'; export function Index() { - /* - * Replace the elements below with your own. - * - * Note: The corresponding styles are in the ./index.scss file. - */ + const router = useRouter(); + console.log(router); return (- You can activate distributed tasks executions and caching by - running: -
-nx connect-to-nx-cloud- - {' '} - What is Nx Cloud?{' '} - -
Here are some things you can do with Nx:
-- # Generate UI lib - nx g @nrwl/angular:lib ui - # Add a component - nx g @nrwl/angular:component button --project ui --
nx graph-
- # see what's been affected by changes - nx affected:graph - # run tests for current changes - nx affected:test - # run e2e tests for current changes - nx affected:e2e --
- Carefully crafted with - -
-