Add advisory text

This commit is contained in:
Nishad 2020-08-30 20:08:29 +08:00
parent c5d8fef7d6
commit ed99a064a4
2 changed files with 11 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import BalancesTable from './BalancesTable';
import OpenOrderTable from './OpenOrderTable';
import React from 'react';
import { Tabs } from 'antd';
import { Tabs, Typography } from 'antd';
import FillsTable from './FillsTable';
import FloatingElement from '../layout/FloatingElement';
import { useOpenOrders, useBalances } from '../../utils/markets';
@ -11,6 +11,15 @@ const { TabPane } = Tabs;
export default function Index() {
return (
<FloatingElement style={{ flex: 1, paddingTop: 10 }}>
<Typography>
Make sure to go to Balances and click Settle to send out your funds
</Typography>
<br />
<Typography>
To fund your wallet, use sollet.io. You can get SOL from FTX, Binance,
BitMax, and others. You can get other tokens from FTX.
</Typography>
<br />
<Tabs defaultActiveKey="orders">
<TabPane tab="Open Orders" key="orders">
<OpenOrdersTab />

View File

@ -235,7 +235,7 @@ export function _useUnfilteredTrades(limit = 10000) {
const [trades] = useAsyncData(
getUnfilteredTrades,
tuple('getUnfilteredTrades', market, connection),
{ refreshInterval: _MEDIUM_REFRESH_INTERVAL },
{ refreshInterval: _SLOW_REFRESH_INTERVAL },
);
return trades;
// NOTE: For now, websocket is too expensive since the event queue is large