diff --git a/common/app/routes/Hikes/components/Question.jsx b/common/app/routes/Hikes/components/Question.jsx index fffd5337b8..b6d89351a1 100644 --- a/common/app/routes/Hikes/components/Question.jsx +++ b/common/app/routes/Hikes/components/Question.jsx @@ -42,9 +42,11 @@ export default contain( }, render() { - const { tests: [test =[]] } = this.props; + const { tests } = this.props; + const { number = '1' } = this.props.params; + + const [question, answer, info] = tests[number - 1] || []; - const [question, answer, info] = test; return (