mango-ui-v3/pages/index.tsx

23 lines
589 B
TypeScript
Raw Normal View History

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'
const Index = () => {
2021-04-06 15:11:42 -07:00
useHydrateStore()
return (
<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 />
<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 />
</div>
)
}
2021-03-26 09:44:55 -07:00
export default Index