Fix /bets page
This commit is contained in:
parent
802f376042
commit
1851b20f42
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user