From 6e38540d5888cc52fdafecf40f084629efd918a3 Mon Sep 17 00:00:00 2001 From: mantikoros Date: Sat, 9 Apr 2022 16:34:43 -0500 Subject: [PATCH] contract tabs: always show timeline tab --- web/components/contract/contract-tabs.tsx | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/web/components/contract/contract-tabs.tsx b/web/components/contract/contract-tabs.tsx index 0168bc8d..31ba0857 100644 --- a/web/components/contract/contract-tabs.tsx +++ b/web/components/contract/contract-tabs.tsx @@ -1,6 +1,3 @@ -import { useState } from 'react' -import clsx from 'clsx' - import { Bet } from '../../../common/bet' import { Contract } from '../../../common/contract' import { Comment } from '../../lib/firebase/comments' @@ -35,13 +32,15 @@ export function ContractTabs(props: { /> ) - if (!user || !userBets?.length) return activity - const yourTrades = (
- + - +
) @@ -50,7 +49,9 @@ export function ContractTabs(props: { )