fix styles after rebase

This commit is contained in:
Matthew Russell 2022-02-23 18:34:04 -08:00
parent f85ebfdfc1
commit 473f74adca
3 changed files with 7 additions and 4 deletions

View File

@ -13,6 +13,7 @@ import { createClient } from '../lib/apollo-client';
import { ThemeSwitcher } from '@vegaprotocol/ui-toolkit';
import './styles.css';
import { ApolloProvider } from '@apollo/client';
import './styles.css';
function VegaTradingApp({ Component, pageProps }: AppProps) {
const client = useMemo(() => createClient(process.env['NX_VEGA_URL']), []);

View File

@ -39,7 +39,6 @@ export function Index() {
))}
</select>
) : null}
<hr />
<h2>Public keys</h2>
<pre>{JSON.stringify(keypairs, null, 2)}</pre>
</div>

View File

@ -4,9 +4,12 @@ const Portfolio = () => {
const { keypair } = useVegaWallet();
return (
<div>
<h1>
Portfolio for: {keypair.name} {keypair.pub}
</h1>
<h1>Portfolio</h1>
{keypair && (
<p>
Keypair: {keypair.name} {keypair.pub}
</p>
)}
</div>
);
};