MCPcopy Create free account
hub / github.com/WardAnalytics/WardGraph / increaseSlide

Function increaseSlide

src/components/graph/tutorial/TutorialDialog.tsx:123–130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121 };
122
123 const increaseSlide = () => {
124 if (currentStep === steps.length - 1) {
125 closeTutorial();
126 return;
127 }
128
129 setCurrentStep(currentStep + 1);
130 };
131
132 const decreaseSlide = () => {
133 if (currentStep === 0) return;

Callers 1

TutorialDialogFunction · 0.85

Calls 1

closeTutorialFunction · 0.85

Tested by

no test coverage detected