Skip to content

Commit 0ba1149

Browse files
authored
fix first step not being highlighted on start()
1 parent 9b10293 commit 0ba1149

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)