pull/76/head
Bosn 7 years ago
parent 79e6a802c6
commit 219bd45ae0

@ -18,13 +18,13 @@ class Importer extends Component {
rmodal: PropTypes.instanceOf(Component),
handleAddMemoryProperties: PropTypes.func.isRequired
}
constructor(props) {
constructor (props) {
super(props)
this.state = {
result: JSON.stringify(mockResult(), null, 2)
}
}
render() {
render () {
const { rmodal } = this.context
return (
<section className='Importer'>
@ -51,7 +51,7 @@ class Importer extends Component {
</section>
)
}
componentDidUpdate() {
componentDidUpdate () {
this.context.rmodal.reposition()
}
// DONE 2.1

Loading…
Cancel
Save