Make selectors compute narratives as arrays

This commit is contained in:
Franc Camps-Febrer
2018-12-14 17:00:31 +01:00
committed by Lachlan Kermode
parent 0bc4ddc54e
commit 4423e792ec
3 changed files with 12 additions and 10 deletions

View File

@@ -26,7 +26,6 @@ class NarrativeCard extends React.Component {
componentDidUpdate() {
if (this.props.narrative !== null) {
const step = this.props.narrative.steps[this.state.step];
console.log(step)
this.props.onSelect([step]);
}
}