Verified Commit 760ca41f authored by Mehdi Baaboura's avatar Mehdi Baaboura
Browse files

Temporarily disabled account switcher

parent 5444ac18
......@@ -21,7 +21,6 @@ import React, {Component} from "react";
import DesktopHeader from "./DesktopHeader";
import {Link} from "react-router-dom";
import Auth from "../../../Auth/Auth";
import AccountSwitcher from "../../../Component/AccountSwitcher";
import __ from "../../../i18n/i18n";
export default class DesktopHeaderAccountDropdown extends Component<{
......@@ -71,14 +70,14 @@ export default class DesktopHeaderAccountDropdown extends Component<{
<i className="fas fa-wrench iconMargin-10"/>{__("navigation.account.settings")}
</a>
<Link to={"#"} onClick={(e) => {
{/*<Link to={"#"} onClick={(e) => {
e.preventDefault();
DesktopHeaderAccountDropdown.close(this.props.parent);
AccountSwitcher.open();
}}>
<i className={"fas fa-user-friends iconMargin-10"}/>{__("navigation.account.switch")}
</Link>
</Link>*/}
<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