2021-03-30 15:47:08 -07:00
|
|
|
import TopBar from '../components/TopBar'
|
|
|
|
import Notifications from '../components/Notification'
|
2021-04-02 11:26:21 -07:00
|
|
|
import TradePageGrid from '../components/TradePageGrid'
|
2021-04-06 15:11:42 -07:00
|
|
|
import MarketSelect from '../components/MarketSelect'
|
|
|
|
import useHydrateStore from '../hooks/useHydrateStore'
|
2021-03-30 15:47:08 -07:00
|
|
|
|
|
|
|
const Index = () => {
|
2021-04-06 15:11:42 -07:00
|
|
|
useHydrateStore()
|
|
|
|
|
2021-03-30 15:47:08 -07:00
|
|
|
return (
|
2021-04-12 09:49:02 -07:00
|
|
|
<div className={`bg-th-bkg-1 text-th-fgd-1 transition-all`}>
|
2021-04-02 11:26:21 -07:00
|
|
|
<TopBar />
|
2021-04-11 14:25:01 -07:00
|
|
|
<MarketSelect />
|
2021-04-12 09:49:02 -07:00
|
|
|
<div className={`min-h-screen p-1 sm:p-2 md:p-6 md:pt-4`}>
|
2021-04-02 11:26:21 -07:00
|
|
|
<TradePageGrid />
|
|
|
|
</div>
|
2021-04-11 21:17:23 -07:00
|
|
|
<Notifications />
|
2021-03-30 15:47:08 -07:00
|
|
|
</div>
|
|
|
|
)
|
|
|
|
}
|
2021-03-26 09:44:55 -07:00
|
|
|
|
2021-03-30 15:47:08 -07:00
|
|
|
export default Index
|