Skip to content

Commit 68f64a0

Browse files
authored
Merge pull request #53 from klapperkopp/fix/first-step-highlight
fix first step not being highlighted on start()
2 parents 5b4b8f2 + 0ba1149 commit 68f64a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hocs/copilot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const copilot = ({
140140
requestAnimationFrame(() => this.start(fromStep));
141141
} else {
142142
this.eventEmitter.emit('start');
143-
await this.setCurrentStep(currentStep, false);
143+
await this.setCurrentStep(currentStep);
144144
await this.moveToCurrentStep();
145145
await this.setVisibility(true);
146146
this.startTries = 0;

0 commit comments

Comments
 (0)