diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index b73fe033..dddfdabe 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -12,6 +12,7 @@ import { InfoModal } from './Modal' import { isDebugFeatureEnabled, isDevMode } from '../constants/debugFeatures' import { routes } from '../constants/routes' import { toSemVer } from '../utils' +import { OrderbookOverlay } from './Orderbook' import packageInfo from '../../package.json' const APP_DISPLAY_VERSION = (() => { @@ -29,8 +30,10 @@ export default function Footer() { const [showBetaWarning, setShowBetaWarning] = useState(false) const [showCheatsheet, setShowCheatsheet] = useState(false) + const [isShowOrderbook, setIsShowOrderbook] = useState(false) const cheatsheetEnabled = useMemo(() => !!currentWallet, [currentWallet]) + const orderbookEnabled = useMemo(() => !!currentWallet, [currentWallet]) const websocketConnected = useMemo(() => websocketState === WebSocket.OPEN, [websocketState]) useEffect(() => { @@ -82,7 +85,7 @@ export default function Footer() { -