From ed99a064a48d689e8a34cd0934710569e50f47b6 Mon Sep 17 00:00:00 2001 From: Nishad Date: Sun, 30 Aug 2020 20:08:29 +0800 Subject: [PATCH] Add advisory text --- src/components/UserInfoTable/index.jsx | 11 ++++++++++- src/utils/markets.js | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/components/UserInfoTable/index.jsx b/src/components/UserInfoTable/index.jsx index 24bf890..c465750 100644 --- a/src/components/UserInfoTable/index.jsx +++ b/src/components/UserInfoTable/index.jsx @@ -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 ( + + Make sure to go to Balances and click Settle to send out your funds + +
+ + To fund your wallet, use sollet.io. You can get SOL from FTX, Binance, + BitMax, and others. You can get other tokens from FTX. + +
diff --git a/src/utils/markets.js b/src/utils/markets.js index be5fd77..976490e 100644 --- a/src/utils/markets.js +++ b/src/utils/markets.js @@ -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