import _ from 'lodash' import { Col } from '../../../components/layout/col' import { Leaderboard } from '../../../components/leaderboard' import { Page } from '../../../components/page' import { formatMoney } from '../../../lib/util/format' export async function getStaticProps() { return { props: {}, revalidate: 60, // regenerate after a minute } } export async function getStaticPaths() { return { paths: [], fallback: 'blocking' } } export default function Leaderboards(props: {}) { return ( formatMoney(user.totalPnLCached), }, ]} /> formatMoney(user.creatorVolumeCached), }, ]} /> ) }