aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/MainView.tsx
diff options
context:
space:
mode:
authorSam Wilkins <35748010+samwilkins333@users.noreply.github.com>2019-09-29 19:06:44 -0400
committerGitHub <noreply@github.com>2019-09-29 19:06:44 -0400
commit70a46647b00849ece22a172aeaa886eb02e94706 (patch)
treedb5b5e887b8ab0e85794aefa146c67faa412a92c /src/client/views/MainView.tsx
parent89fd714207dbd965dc4b566202ec85bbd7998adf (diff)
parent2b41e6743a4ebfb3b3c30a87633f547f30635ed4 (diff)
Merge pull request #290 from browngraphicslab/googlephotos_sharing_master
Cleanup
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r--src/client/views/MainView.tsx10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx
index 2b5a2698e..cf09bd2d0 100644
--- a/src/client/views/MainView.tsx
+++ b/src/client/views/MainView.tsx
@@ -164,16 +164,6 @@ export class MainView extends React.Component {
}
}
- executeGooglePhotosRoutine = async () => {
- // let imgurl = "https://upload.wikimedia.org/wikipedia/commons/thumb/3/3a/Cat03.jpg/1200px-Cat03.jpg";
- // let doc = Docs.Create.ImageDocument(imgurl, { width: 200, title: "an image of a cat" });
- // doc.caption = "Well isn't this a nice cat image!";
- // let photos = await GooglePhotos.endpoint();
- // let albumId = (await photos.albums.list(50)).albums.filter((album: any) => album.title === "This is a generically created album!")[0].id;
- // console.log(await GooglePhotos.UploadImages([doc], { id: albumId }));
- GooglePhotos.Query.ContentSearch({ included: [GooglePhotos.ContentCategories.ANIMALS] }).then(console.log);
- }
-
componentWillUnMount() {
window.removeEventListener("keydown", KeyManager.Instance.handle);
//close presentation