diff options
author | anika-ahluwalia <anika.ahluwalia@gmail.com> | 2020-08-09 18:42:04 -0500 |
---|---|---|
committer | anika-ahluwalia <anika.ahluwalia@gmail.com> | 2020-08-09 18:42:04 -0500 |
commit | b3b760cecc3fb2f455b63c7ccdd438ab66ac63fa (patch) | |
tree | 81142fcd22649a191f2f6186165c8ec5f5d56933 /src/client/util/SettingsManager.tsx | |
parent | fa01f623ef7db8e22f7fd055d4e339feba6c34df (diff) | |
parent | be7011f5ba6b45b4bff21e73e6c4226c909d446a (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into menu_restructure
Diffstat (limited to 'src/client/util/SettingsManager.tsx')
-rw-r--r-- | src/client/util/SettingsManager.tsx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/client/util/SettingsManager.tsx b/src/client/util/SettingsManager.tsx index 9ffd4ff20..8b58880d4 100644 --- a/src/client/util/SettingsManager.tsx +++ b/src/client/util/SettingsManager.tsx @@ -11,7 +11,6 @@ import { CurrentUserUtils } from "./CurrentUserUtils"; import { Utils, addStyleSheet, addStyleSheetRule, removeStyleSheetRule } from "../../Utils"; import { Doc } from "../../fields/Doc"; import GroupManager from "./GroupManager"; -import HypothesisAuthenticationManager from "../apis/HypothesisAuthenticationManager"; import GoogleAuthenticationManager from "../apis/GoogleAuthenticationManager"; import { DocServer } from "../DocServer"; import { BoolCast, StrCast, NumCast } from "../../fields/Types"; @@ -44,7 +43,6 @@ export default class SettingsManager extends React.Component<{}> { public open = action(() => (this.isOpen = true) && SelectionManager.DeselectAll()); private googleAuthorize = action(() => GoogleAuthenticationManager.Instance.fetchOrGenerateAccessToken(true)); - private hypothesisAuthorize = action(() => HypothesisAuthenticationManager.Instance.fetchAccessToken(true)); private changePassword = async () => { if (!(this.curr_password && this.new_password && this.new_confirm)) { runInAction(() => this.passwordResultText = "Error: Hey, we're missing some fields!"); @@ -144,7 +142,6 @@ export default class SettingsManager extends React.Component<{}> { @computed get accountsContent() { return <div className="accounts-content"> <button onClick={this.googleAuthorize} value="data">Link to Google</button> - <button onClick={this.hypothesisAuthorize} value="data">Link to Hypothes.is</button> <button onClick={GroupManager.Instance?.open}>Manage groups</button> </div>; } |