diff options
author | bobzel <zzzman@gmail.com> | 2020-08-08 20:56:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-08 20:56:30 -0400 |
commit | 9f4a7ec5f79d9dec3a0ffb0b633197216cbefec8 (patch) | |
tree | 4b30cf8edfee0b2f315353329fde65b0b4585ae0 /src/client/util/SettingsManager.tsx | |
parent | 47e3170534393ab9e4140c18b32110f83753d817 (diff) | |
parent | 1733759b776f0596c3a8561d2c735a4b7c7d54d3 (diff) |
Merge pull request #517 from browngraphicslab/hypothesis_annotation
Hypothesis annotation
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>; } |