import React, { Component } from 'react' import {Paper, Grid, IconButton, Select, MenuItem, List, ListItemText, ListItem, ListItemIcon} from "@mui/material"; // Icons import SettingsIcon from '@mui/icons-material/Settings'; import SupportAgentIcon from '@mui/icons-material/SupportAgent'; import InventoryIcon from '@mui/icons-material/Inventory'; import SellIcon from '@mui/icons-material/Sell'; import SmartToyIcon from '@mui/icons-material/SmartToy'; import PercentIcon from '@mui/icons-material/Percent'; export default class BottomBar extends Component { constructor(props) { super(props); this.state = { num_public_buy_orders: 0, num_active_robotsats: 0, num_public_sell_orders: 0, fee: 0, today_avg_nonkyc_btc_premium: 0, today_volume: 0, }; this.getInfo(); } handleClickSuppport = () => { window.open("https://t.me/robosats"); }; getInfo() { this.setState(null) fetch('/api/info/') .then((response) => response.json()) .then((data) => {console.log(data) & this.setState(data) }); } render() { return ( ) } }