diff options
| author | Melissa Zhang <mzhang19096@gmail.com> | 2020-07-10 16:26:08 -0700 |
|---|---|---|
| committer | Melissa Zhang <mzhang19096@gmail.com> | 2020-07-10 16:26:08 -0700 |
| commit | 8594b7e8f3058a8d441413a033aee311ee59bdfd (patch) | |
| tree | 3b4964720b71ce12249dc73db6946910c9deacb9 /src/client/views/nodes/DocumentLinksButton.tsx | |
| parent | 4f16c24aa5221db8670fa69b7f7bee0f897fb203 (diff) | |
hypothes.is authentication is fully functional, no longer need to manually input username/api key
Diffstat (limited to 'src/client/views/nodes/DocumentLinksButton.tsx')
| -rw-r--r-- | src/client/views/nodes/DocumentLinksButton.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/DocumentLinksButton.tsx b/src/client/views/nodes/DocumentLinksButton.tsx index 535711193..ab97e8531 100644 --- a/src/client/views/nodes/DocumentLinksButton.tsx +++ b/src/client/views/nodes/DocumentLinksButton.tsx @@ -41,7 +41,7 @@ export class DocumentLinksButton extends React.Component<DocumentLinksButtonProp window.addEventListener("message", async (e: any) => { if (e.origin === "http://localhost:1050" && e.data.message === "annotation created") { console.log("DASH RECEIVED MESSAGE:", e.data.message); - const response = await Hypothesis.getPlaceholderId("melissaz", "placeholder"); // delete once eventListening between client & Dash works + const response = await Hypothesis.getPlaceholderId("placeholder"); // delete once eventListening between client & Dash works const source = SelectionManager.SelectedDocuments()[0]; response && runInAction(() => { DocumentLinksButton.AnnotationId = response.id; |
