From 0ba1149f6d09f17682ece59c28d2a5274696b150 Mon Sep 17 00:00:00 2001 From: Toni Date: Mon, 16 Jul 2018 17:41:03 +0200 Subject: [PATCH] fix first step not being highlighted on start() --- src/hocs/copilot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hocs/copilot.js b/src/hocs/copilot.js index 9007aeac..288c9623 100644 --- a/src/hocs/copilot.js +++ b/src/hocs/copilot.js @@ -140,7 +140,7 @@ const copilot = ({ requestAnimationFrame(() => this.start(fromStep)); } else { this.eventEmitter.emit('start'); - await this.setCurrentStep(currentStep, false); + await this.setCurrentStep(currentStep); await this.moveToCurrentStep(); await this.setVisibility(true); this.startTries = 0;