manifold/web/pages/bets.tsx
2021-12-18 02:37:26 -08:00

26 lines
589 B
TypeScript

import { BetsList } from '../components/bets-list'
import { Header } from '../components/header'
import { SEO } from '../components/SEO'
import { Title } from '../components/title'
import { useUser } from '../hooks/use-user'
export default function BetsPage() {
const user = useUser()
return (
<div>
<SEO title="Your bets" description="Your bets" url="/bets" />
<Header />
<div className="max-w-4xl pt-8 pb-0 sm:pb-8 mx-auto">
<div>
<Title text="Your bets" />
<BetsList user={user} />
</div>
</div>
</div>
)
}