remove trade history table loader for now

This commit is contained in:
Tyler Shipe 2021-04-15 13:52:25 -04:00
parent 3160dacb92
commit b2e35ecb28
1 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
import useTradeHistory from '../hooks/useTradeHistory' import useTradeHistory from '../hooks/useTradeHistory'
import useMangoStore from '../stores/useMangoStore' // import useMangoStore from '../stores/useMangoStore'
import Loading from './Loading' // import Loading from './Loading'
const TradeHistoryTable = () => { const TradeHistoryTable = () => {
const tradeHistory = useTradeHistory() const tradeHistory = useTradeHistory()
const connected = useMangoStore((s) => s.wallet.connected) // const connected = useMangoStore((s) => s.wallet.connected)
return ( return (
<div className={`flex flex-col py-6`}> <div className={`flex flex-col py-6`}>
@ -124,7 +124,7 @@ const TradeHistoryTable = () => {
<div <div
className={`w-full text-center py-6 text-base bg-th-bkg-1 text-th-fgd-2 rounded-md`} className={`w-full text-center py-6 text-base bg-th-bkg-1 text-th-fgd-2 rounded-md`}
> >
{connected ? <Loading /> : 'No trade history'} No trade history
</div> </div>
)} )}
</div> </div>