2022-03-31 01:08:25 +00:00
|
|
|
import { t } from '@vegaprotocol/react-helpers';
|
2022-03-25 07:44:10 +00:00
|
|
|
import { AnchorButton } from '@vegaprotocol/ui-toolkit';
|
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-03-31 01:08:25 +00:00
|
|
|
<h1>{t('Portfolio')}</h1>
|
|
|
|
{keypair && <p>{t(`Keypair: ${keypair.name} ${keypair.pub}`)}</p>}
|
2022-03-25 07:44:10 +00:00
|
|
|
<div className="flex gap-4">
|
2022-03-31 01:08:25 +00:00
|
|
|
<AnchorButton href="/portfolio/deposit">{t('Deposit')}</AnchorButton>
|
2022-03-25 07:44:10 +00:00
|
|
|
</div>
|
2022-02-17 05:03:46 +00:00
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default Portfolio;
|