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

remove useless button

This commit is contained in:
Enrico Fasoli 2015-12-15 23:49:47 +01:00
parent c81dd42bf8
commit 032299b7db

View File

@ -56,13 +56,6 @@ module.exports = function (boardsAPI) {
this.setState({ init: true })
}
},
newProfile: function () {
var boards = this.state.api
boards.createProfile({
name: 'Default Name',
description: 'Default Profile Description'
})
},
linkToEditor: function () {
var uid = this.props.params.userid
if (uid === 'me' && this.state.id) uid = this.state.id
@ -72,7 +65,6 @@ module.exports = function (boardsAPI) {
<div className="iconbar">
<Link className="nounderline" to="/edit/profile"><Icon name="edit" className="fa-2x light"/></Link>
</div>
<button className="new-profile button button-primary" onClick={this.newProfile}>New Profile</button>
<hr/>
</div>
}