Skip to content
This repository was archived by the owner on Mar 7, 2024. It is now read-only.

Commit 891d12b

Browse files
disable myProfile button (#125)
1 parent 534588c commit 891d12b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/layouts/MainLayout/TopBar/Account.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import {
1414
makeStyles
1515
} from '@material-ui/core';
1616
import { login, dismissLogin, logout } from 'src/actions/accountActions';
17-
import { Link } from 'react-router-dom';
1817

1918
const useStyles = makeStyles(theme => ({
2019
button: {
@@ -142,14 +141,15 @@ function Account() {
142141
onClose={handleCloseMenu}
143142
>
144143
<MenuItem onClick={handleLogout}>Logout</MenuItem>
145-
<MenuItem onClick={handleCloseMenu}>
144+
{/* This shortcut to Profile will be activated once things are fully complete with Profile */}
145+
{/* <MenuItem onClick={handleCloseMenu}>
146146
<Link
147147
to="/student"
148148
style={{ textDecoration: 'none', color: 'black' }}
149149
>
150150
My Profile
151151
</Link>
152-
</MenuItem>
152+
</MenuItem> */}
153153
</Menu>
154154
</div>
155155
</div>

0 commit comments

Comments
 (0)