1
0
mirror of https://github.com/fazo96/ipfs-boards synced 2025-01-10 12:24:20 +01:00

fix typos, update dependencies

Not using the latest ipfs-api because it has a bug when running in the
browser.
This commit is contained in:
Enrico Fasoli 2016-06-20 18:27:12 +02:00
parent d0e905e5ef
commit 49bd61bd2e
3 changed files with 5 additions and 5 deletions

View File

@ -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",

View File

@ -95,7 +95,7 @@ require.ensure('react', _ => {
var Router = this.state.Router
var IndexRoute = this.state.IndexRoute
var Route = this.state.Route
return <Router>
return <Router history={this.state.hashHistory} >
<Route path='/' component={App}>
<IndexRoute component={Homepage} />
<Route path='/@:userid'>

View File

@ -80,9 +80,9 @@ module.exports = React.createClass({
<p>Still can't fix it? <a href='https://github.com/fazo96/ipfs-board/issues'>File a issue on GitHub</a>, we'll be happy to help!</p>
</div>
) } else if (this.state.connected) {
return <div class='text-center'>
return <div className='text-center'>
<h1><Icon name='check' /></h1>
<h5 class='light'>You're connected!</h5>
<h5 className='light'>You're connected!</h5>
</div>
} else {
return <div className='center-block text-center'>