Fix /bets page

This commit is contained in:
Austin Chen 2021-12-18 02:37:26 -08:00
parent 802f376042
commit 1851b20f42
2 changed files with 4 additions and 4 deletions

View File

@ -74,7 +74,7 @@ export function BetsList(props: { user: User }) {
)
return (
<Col className="mt-6 gap-10">
<Col className="mt-6 gap-6">
<Row className="gap-8">
<Col>
<div className="text-sm text-gray-500">Active bets</div>

View File

@ -2,10 +2,10 @@ import { BetsList } from '../components/bets-list'
import { Header } from '../components/header'
import { SEO } from '../components/SEO'
import { Title } from '../components/title'
import { User } from '../lib/firebase/users'
import { useUser } from '../hooks/use-user'
export default function BetsPage(props: { user: User; currentUser?: User }) {
const { user } = props
export default function BetsPage() {
const user = useUser()
return (
<div>