added and changed var names

This commit is contained in:
Sol
2020-07-27 14:54:16 +01:00
committed by Lachlan Kermode
parent e04fb2ebfb
commit cc2561aa30
3 changed files with 7 additions and 7 deletions

View File

@@ -111,7 +111,7 @@ function MapEvents ({
// in narrative mode, only render events in narrative
// TODO: move this to a selector
// Gets around if block scope
var narrativeIdx = false
let narrativeIdx = -1
if (narrative) {
const { steps } = narrative