diff --git a/frontend/src/components/BottomBar.js b/frontend/src/components/BottomBar.js index 12a0dc69..736ba1ce 100644 --- a/frontend/src/components/BottomBar.js +++ b/frontend/src/components/BottomBar.js @@ -3,9 +3,10 @@ import { withTranslation } from "react-i18next"; import { Badge, Tooltip, ListItemAvatar, Avatar,Paper, Grid, IconButton, Select, MenuItem, ListItemText, ListItem, ListItemIcon, ListItemButton } from "@mui/material"; import MediaQuery from 'react-responsive' import Flags from 'country-flag-icons/react/3x2' +import { Link as LinkRouter } from "react-router-dom"; // Icons -import SettingsIcon from '@mui/icons-material/Settings'; +import BarChartIcon from '@mui/icons-material/BarChart'; import PeopleIcon from '@mui/icons-material/People'; import InventoryIcon from '@mui/icons-material/Inventory'; import SellIcon from '@mui/icons-material/Sell'; @@ -158,7 +159,13 @@ bottomBarDesktop =()=>{ - + this.props.setAppState({buyChecked: false, sellChecked: true, type:0}) && this.getInfo()} + to={`/book/`} + component={LinkRouter} > + + { - + this.props.setAppState({buyChecked: true, sellChecked: false, type:1}) && this.getInfo()} + to={`/book/`} + component={LinkRouter} > + + { - + this.getInfo()} + to={`/`} + component={LinkRouter} > + + { - + + + { - < IconButton onClick={this.handleClickOpenExchangeSummary}> + + + { - + @@ -321,40 +345,52 @@ bottomBarPhone =()=>{ - - - - + this.props.setAppState({buyChecked: false, sellChecked: true, type:0}) && this.getInfo()} + to={`/book/`} + component={LinkRouter} > + + + - - - - + this.props.setAppState({buyChecked: true, sellChecked: false, type:1}) && this.getInfo()} + to={`/book/`} + component={LinkRouter} > + + + - - - - + this.getInfo()} + to={`/`} + component={LinkRouter} > + + + - - - - + + + + @@ -378,7 +414,7 @@ bottomBarPhone =()=>{ - +