fix: skip tour jumps to help step instead of GitHub step
This commit is contained in:
1 parent
e091d8ae15
commit
0b6b9996e3
1 file changed
+3
-2
@@ -102,8 +102,9 @@ export default function TourOverlay({ onOpenHelp }) {
|
||||
|
||||
const skipToHelp = () => {
|
||||
setStatus('tour');
|
||||
setCurrentStepIndex(TOUR_STEPS.length - 1);
|
||||
updateRect(TOUR_STEPS.length - 1);
|
||||
const helpStepIndex = TOUR_STEPS.length - 2;
|
||||
setCurrentStepIndex(helpStepIndex);
|
||||
updateRect(helpStepIndex);
|
||||
};
|
||||
|
||||
const beginTour = useCallback(() => {
|
||||
|
||||
Reference in new issue
Block a user