fix: skip tour jumps to help step instead of GitHub step

This commit is contained in:
YuanShiJiLoong committed 2026-02-22 02:00:43 +09:00
1 parent e091d8ae15
commit 0b6b9996e3
1 file changed
+3 -2
+3 -2
View File
@@ -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(() => {