remove trade history table loader for now
This commit is contained in:
parent
3160dacb92
commit
b2e35ecb28
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue