vega-frontend-monorepo/apps/trading/pages/portfolio/index.page.tsx

18 lines
321 B
TypeScript
Raw Normal View History

import { useVegaWallet } from '@vegaprotocol/react-helpers';
2022-02-17 05:03:46 +00:00
const Portfolio = () => {
const { keypair } = useVegaWallet();
2022-02-17 05:03:46 +00:00
return (
<div>
2022-02-24 02:34:04 +00:00
<h1>Portfolio</h1>
{keypair && (
<p>
Keypair: {keypair.name} {keypair.pub}
</p>
)}
2022-02-17 05:03:46 +00:00
</div>
);
};
export default Portfolio;