diff --git a/README.md b/README.md index 197b43d..4da0920 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,8 @@ ChainKeeper is a web application to explore and analyze block-chain data for use ### Installation + - Can be used only in Mac OS and Ubuntu because BlockSci is not supported in Windows + ```sh $ cd ChainKeeper $ npm install diff --git a/chainkeeper_app/src/components/BlockPage.js b/chainkeeper_app/src/components/BlockPage.js index 2349769..e97b9e9 100644 --- a/chainkeeper_app/src/components/BlockPage.js +++ b/chainkeeper_app/src/components/BlockPage.js @@ -21,7 +21,7 @@ class BlockPage extends Component { componentDidMount() { this.setState({ isLoading: true }); - let openVal = parseInt(this.props.match.params.id); + let openVal = parseInt(this.props.match.params.id,10); fetch("http://192.248.22.171:8080/blocksci/api/v5/block/"+openVal) .then(response => response.json()) diff --git a/chainkeeper_app/src/components/LoginwithGoogle.js b/chainkeeper_app/src/components/LoginwithGoogle.js index c54c37e..5e35267 100644 --- a/chainkeeper_app/src/components/LoginwithGoogle.js +++ b/chainkeeper_app/src/components/LoginwithGoogle.js @@ -45,7 +45,7 @@ class LoginwithGoogle extends Component { }; return (
- imageClick()} /> + google login imageClick()} />
); } diff --git a/chainkeeper_app/src/components/Navigation.js b/chainkeeper_app/src/components/Navigation.js index 669b4e8..2e3d512 100644 --- a/chainkeeper_app/src/components/Navigation.js +++ b/chainkeeper_app/src/components/Navigation.js @@ -5,9 +5,7 @@ import { withRouter } from 'react-router-dom'; class NavigationComp extends Component { - constructor(props) { - super(props); - } + getValueFromUser = (event) => { if(event) event.preventDefault(); let path; @@ -77,7 +75,7 @@ class NavigationComp extends Component {
  • {authUser => -