Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

Commit

Permalink
Update photo upload component react-id
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjosling committed May 2, 2015
1 parent 063a4cb commit 59beeb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/fb.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ function b64toBlob(b64Data, contentType, sliceSize) {

// Find the instance of the photo upload class from the React component tree.
function getPhotoUploadComponent() {
var id = '.0.1.$1.0.1.$0.1.0.$1.0.1.0';
var id = '.0.1.$1.0.1.$0.1.0.1.1.0';
var idComponents = id.split('.');
var children = __REACT_DEVTOOLS_GLOBAL_HOOK__._reactRuntime.Mount._instancesByReactRootID;
var component;
Expand Down

0 comments on commit 59beeb3

Please sign in to comment.