2022-03-14 13:18:11 +00:00
|
|
|
import { useVegaWallet } from '@vegaprotocol/wallet';
|
2022-02-24 00:13:21 +00:00
|
|
|
|
2022-02-17 05:03:46 +00:00
|
|
|
const Portfolio = () => {
|
2022-02-24 00:13:21 +00:00
|
|
|
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;
|