Skip to content

Commit 3236149

Browse files
authored
disable settings until backup fixed (#14)
1 parent baa1d67 commit 3236149

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/dashboard/Dashboard.tsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ import { Path } from "../router/Path";
2828
import Console from "./console/Console";
2929
import MenuItem, { MenuItemProps } from "./menu/MenuItem";
3030
import Overview from "./overview/Overview";
31-
import SetupWarning from "./SetupWarning";
31+
// import SetupWarning from "./SetupWarning";
3232
import Trade from "./trade/Trade";
3333
import Tradehistory from "./tradehistory/Tradehistory";
3434
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"; */
3737

3838
export const drawerWidth = 200;
3939

@@ -185,14 +185,14 @@ const Dashboard = (): ReactElement => {
185185
</List>
186186
</Grid>
187187
<Grid container item direction="column" justify="flex-end">
188-
<Grid item container>
188+
{/* <Grid item container>
189189
<MenuItem
190190
path={Path.SETTINGS}
191191
text={"Settings"}
192192
component={Settings}
193193
icon={SettingsIcon}
194194
/>
195-
</Grid>
195+
</Grid> */}
196196
{isElectron() && (
197197
<Grid item container justify="center">
198198
<Tooltip title="Disconnect from opendex-docker" placement="top">
@@ -212,18 +212,18 @@ const Dashboard = (): ReactElement => {
212212
</Grid>
213213
</Drawer>
214214
<main className={classes.content}>
215-
<Grid item container>
215+
{/* <Grid item container>
216216
{<SetupWarning />}
217-
</Grid>
217+
</Grid> */}
218218
<Switch>
219219
{menuItems.map((item) => (
220220
<Route exact path={`${path}${item.path}`} key={item.text}>
221221
{item.component}
222222
</Route>
223223
))}
224-
<Route path={`${path}${Path.SETTINGS}`}>
224+
{/* <Route path={`${path}${Path.SETTINGS}`}>
225225
<Settings />
226-
</Route>
226+
</Route> */}
227227
<Route exact path={path}>
228228
<Redirect to={`${path}${Path.OVERVIEW}`} />
229229
</Route>

0 commit comments

Comments
 (0)