Verified Commit 02fafbf4 authored by Mehdi Baaboura's avatar Mehdi Baaboura
Browse files

Removed account switcher from mobile sider

parent d93fd151
......@@ -29,7 +29,6 @@ import Auth from "../../../Auth/Auth";
import User from "../../../api/src/Entity/User";
import {Link} from "react-router-dom";
import VerifiedBadge from "../../../Component/VerifiedBadge";
import AccountSwitcher from "../../../Component/AccountSwitcher";
import __ from "../../../i18n/i18n";
import PrivacyBadge from "../../../Component/PrivacyBadge";
import ClickEvent = JQuery.ClickEvent;
......@@ -124,7 +123,7 @@ export default class MobileSider extends Component<{
<span className="nav-text">{__("navigation.account.settings")}</span>
</a>
</Menu.Item>,
<Menu.Item key="3">
/*<Menu.Item key="3">
<Link to={"#"} onClick={(e) => {
e.preventDefault();
AccountSwitcher.open();
......@@ -133,7 +132,7 @@ export default class MobileSider extends Component<{
<i className={"fas fa-user-friends iconMargin-10"}/>
<span className="nav-text">{__("navigation.account.switch")}</span>
</Link>
</Menu.Item>,
</Menu.Item>,*/
<Menu.Item key="4">
<Link to={"#"} onClick={(e) => {
e.preventDefault();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment