This commit is contained in:
Devin Howard 2017-01-26 16:18:53 -05:00
parent 8e23a0f1bd
commit 5c8e9f41bf
2 changed files with 3 additions and 9 deletions

View file

@ -89,7 +89,7 @@ const bindShowCardListeners = (topic, ActiveMapper) => {
}
}
class Links extends Component {
class Metacode extends Component {
componentDidMount = () => {
bindShowCardListeners(this.props.topic, this.props.ActiveMapper)
}
@ -112,13 +112,11 @@ class Links extends Component {
}
}
Links.propTypes = {
Metacode.propTypes = {
topic: PropTypes.object, // backbone object
metacode: PropTypes.object, // backbone object
ActiveMapper: PropTypes.object,
updateTopic: PropTypes.func
}
export default Links
export default Metacode

View file

@ -11,10 +11,6 @@ class Permission extends Component {
}
}
componentDidMount = () => {
bindShowCardListeners(this.props.topic, this.props.ActiveMapper, this)
}
togglePermissionSelect = () => {
this.setState({selectingPermission: !this.state.selectingPermission})
}