diff --git a/pages/dashboard/index.tsx b/pages/dashboard/index.tsx index bb989dbd..a1503236 100644 --- a/pages/dashboard/index.tsx +++ b/pages/dashboard/index.tsx @@ -14,6 +14,7 @@ import { } from '@heroicons/react/20/solid' import { Disclosure } from '@headlessui/react' import MarketLogos from '@components/trade/MarketLogos' +import Button from '@components/shared/Button' export async function getStaticProps({ locale }: { locale: string }) { return { @@ -55,6 +56,36 @@ const Dashboard: NextPage = () => { address={group?.publicKey.toString()} anchorData > +
+ + +

Banks

{Array.from(group.banksMapByMint).map(([mintAddress, banks]) => @@ -68,6 +99,7 @@ const Dashboard: NextPage = () => { {({ open }) => ( <> { {({ open }) => ( <> { label="Perp Market Index" value={perpMarket.perpMarketIndex} /> + { return ( -
+
{label} {value}
diff --git a/tsconfig.json b/tsconfig.json index 551ba25d..b68b9611 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "es5", + "target": "es2017", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true,