@@ -28,12 +28,12 @@ import { Path } from "../router/Path";
28
28
import Console from "./console/Console" ;
29
29
import MenuItem , { MenuItemProps } from "./menu/MenuItem" ;
30
30
import Overview from "./overview/Overview" ;
31
- import SetupWarning from "./SetupWarning" ;
31
+ // import SetupWarning from "./SetupWarning";
32
32
import Trade from "./trade/Trade" ;
33
33
import Tradehistory from "./tradehistory/Tradehistory" ;
34
34
import Wallets from "./wallet/Wallets" ;
35
- import SettingsIcon from "@material-ui/icons/Settings" ;
36
- import Settings from "../settings/Settings" ;
35
+ /* import SettingsIcon from "@material-ui/icons/Settings";
36
+ import Settings from "../settings/Settings"; */
37
37
38
38
export const drawerWidth = 200 ;
39
39
@@ -185,14 +185,14 @@ const Dashboard = (): ReactElement => {
185
185
</ List >
186
186
</ Grid >
187
187
< Grid container item direction = "column" justify = "flex-end" >
188
- < Grid item container >
188
+ { /* <Grid item container>
189
189
<MenuItem
190
190
path={Path.SETTINGS}
191
191
text={"Settings"}
192
192
component={Settings}
193
193
icon={SettingsIcon}
194
194
/>
195
- </ Grid >
195
+ </Grid> */ }
196
196
{ isElectron ( ) && (
197
197
< Grid item container justify = "center" >
198
198
< Tooltip title = "Disconnect from opendex-docker" placement = "top" >
@@ -212,18 +212,18 @@ const Dashboard = (): ReactElement => {
212
212
</ Grid >
213
213
</ Drawer >
214
214
< main className = { classes . content } >
215
- < Grid item container >
215
+ { /* <Grid item container>
216
216
{<SetupWarning />}
217
- </ Grid >
217
+ </Grid> */ }
218
218
< Switch >
219
219
{ menuItems . map ( ( item ) => (
220
220
< Route exact path = { `${ path } ${ item . path } ` } key = { item . text } >
221
221
{ item . component }
222
222
</ Route >
223
223
) ) }
224
- < Route path = { `${ path } ${ Path . SETTINGS } ` } >
224
+ { /* <Route path={`${path}${Path.SETTINGS}`}>
225
225
<Settings />
226
- </ Route >
226
+ </Route> */ }
227
227
< Route exact path = { path } >
228
228
< Redirect to = { `${ path } ${ Path . OVERVIEW } ` } />
229
229
</ Route >
0 commit comments