From 49bd61bd2e52cbff2b8235bbed119a52acf227a1 Mon Sep 17 00:00:00 2001 From: Enrico Fasoli Date: Mon, 20 Jun 2016 18:27:12 +0200 Subject: [PATCH] fix typos, update dependencies Not using the latest ipfs-api because it has a bug when running in the browser. --- package.json | 4 ++-- webapp/app.jsx | 2 +- webapp/pages/getipfs.jsx | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index cf350a9..77650bf 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "description": "decentralized discussion board", "scripts": { - "serve": "webpack-dev-server --progress --no-info --hot --watch --devtool eval-source", + "serve": "webpack-dev-server --progress --hot --watch --devtool eval-source", "build": "webpack --progress" }, "repository": { @@ -40,7 +40,7 @@ "html-loader": "^0.4.3", "html-webpack-plugin": "^2.14.0", "https-browserify": "^0.0.1", - "ipfs-api": "github:ipfs/js-ipfs-api#1fd9749", + "ipfs-api": "3.0.3", "json-loader": "^0.5.4", "lodash.sortedindex": "^4.0.1", "markdown-loader": "^0.1.7", diff --git a/webapp/app.jsx b/webapp/app.jsx index ac62d41..2d0df66 100644 --- a/webapp/app.jsx +++ b/webapp/app.jsx @@ -95,7 +95,7 @@ require.ensure('react', _ => { var Router = this.state.Router var IndexRoute = this.state.IndexRoute var Route = this.state.Route - return + return diff --git a/webapp/pages/getipfs.jsx b/webapp/pages/getipfs.jsx index 775a64f..d701ba3 100644 --- a/webapp/pages/getipfs.jsx +++ b/webapp/pages/getipfs.jsx @@ -80,9 +80,9 @@ module.exports = React.createClass({

Still can't fix it? File a issue on GitHub, we'll be happy to help!

) } else if (this.state.connected) { - return
+ return

-
You're connected!
+
You're connected!
} else { return