mirror of
https://github.com/bellingcat/ukraine-timemap.git
synced 2026-06-12 13:28:36 +03:00
Make selectors compute narratives as arrays
This commit is contained in:
committed by
Lachlan Kermode
parent
0bc4ddc54e
commit
4423e792ec
@@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user