vega-frontend-monorepo/apps/trading/pages/portfolio/index.page.tsx
2022-03-10 20:51:05 -08:00

18 lines
321 B
TypeScript

import { useVegaWallet } from '@vegaprotocol/react-helpers';
const Portfolio = () => {
const { keypair } = useVegaWallet();
return (
<div>
<h1>Portfolio</h1>
{keypair && (
<p>
Keypair: {keypair.name} {keypair.pub}
</p>
)}
</div>
);
};
export default Portfolio;