1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-15 10:46:32 +00:00

add delete planet request

This commit is contained in:
Rokt33r
2015-07-25 12:39:09 +09:00
parent 4df489bd10
commit 5dbfb24f1c
5 changed files with 51 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ module.exports = React.createClass({
},
doubleCheckDeletePlanet: function () {
if (this.state.isDeletePlanetChecked) {
console.log('delete it')
PlanetActions.deletePlanet(this.props.currentPlanet.userName, this.props.currentPlanet.name)
return
}
this.setState({isDeletePlanetChecked: true})