feat(console-lite): add portfolio screen and accounts container (#485)
This commit is contained in:
parent
66c18a2b1b
commit
da0536f8a8
@ -0,0 +1 @@
|
||||
export * from './portfolio';
|
@ -0,0 +1,13 @@
|
||||
import { AccountsContainer } from '@vegaprotocol/accounts';
|
||||
import { t } from '@vegaprotocol/react-helpers';
|
||||
|
||||
export const Portfolio = () => {
|
||||
return (
|
||||
<section>
|
||||
<h2 className="text-lg mb-16">{t('Assets')}</h2>
|
||||
<div className="h-screen">
|
||||
<AccountsContainer />
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
@ -1,6 +1,7 @@
|
||||
import { t } from '@vegaprotocol/react-helpers';
|
||||
import { DealTicketContainer } from '../components/deal-ticket';
|
||||
import { SimpleMarketList } from '../components/simple-market-list';
|
||||
import { Portfolio } from '../components/portfolio';
|
||||
|
||||
export const ROUTES = {
|
||||
HOME: '/',
|
||||
@ -45,6 +46,6 @@ export const routerConfig = [
|
||||
path: ROUTES.PORTFOLIO,
|
||||
name: 'Portfolio',
|
||||
text: t('Portfolio'),
|
||||
element: <div>Portfolio</div>,
|
||||
element: <Portfolio />,
|
||||
},
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user