aboutsummaryrefslogtreecommitdiff
path: root/src/client/apis/HypothesisAuthenticationManager.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-07-11 20:49:00 -0400
committerGitHub <noreply@github.com>2020-07-11 20:49:00 -0400
commitff642c9f9846a182e7ca8893b2ca414bb8ce480f (patch)
tree534cb1d9b12e95d351595e8f7f11b4573123275c /src/client/apis/HypothesisAuthenticationManager.tsx
parentbf8c338e662327b39cdef3f90c436447e48d2807 (diff)
parent49b6ab8536f570ef244199ac39194d3b176c9e77 (diff)
Merge pull request #438 from browngraphicslab/ink_menu
format shape pane
Diffstat (limited to 'src/client/apis/HypothesisAuthenticationManager.tsx')
-rw-r--r--src/client/apis/HypothesisAuthenticationManager.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/apis/HypothesisAuthenticationManager.tsx b/src/client/apis/HypothesisAuthenticationManager.tsx
index cffb87227..a7fcf86a4 100644
--- a/src/client/apis/HypothesisAuthenticationManager.tsx
+++ b/src/client/apis/HypothesisAuthenticationManager.tsx
@@ -34,7 +34,7 @@ export default class HypothesisAuthenticationManager extends React.Component<{}>
}
public fetchAccessToken = async (displayIfFound = false) => {
- let response: any = await Networking.FetchFromServer("/readHypothesisAccessToken");
+ const response: any = await Networking.FetchFromServer("/readHypothesisAccessToken");
// if this is an authentication url, activate the UI to register the new access token
if (!response) { // new RegExp(AuthenticationUrl).test(response)) {
this.isOpen = true;