MCPcopy
hub / github.com/codeaashu/claude-code / goToNextStep

Function goToNextStep

src/components/Onboarding.tsx:42–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 });
41 }, [oauthEnabled]);
42 function goToNextStep() {
43 if (currentStepIndex < steps.length - 1) {
44 const nextIndex = currentStepIndex + 1;
45 setCurrentStepIndex(nextIndex);
46 logEvent('tengu_onboarding_step', {
47 oauthEnabled,
48 stepId: steps[nextIndex]?.id as AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS
49 });
50 } else {
51 onDone();
52 }
53 }
54 function handleThemeSelection(newTheme: ThemeSetting) {
55 setTheme(newTheme);
56 goToNextStep();

Callers 3

handleThemeSelectionFunction · 0.85
handleApiKeyDoneFunction · 0.85
OnboardingFunction · 0.85

Calls 2

logEventFunction · 0.85
onDoneFunction · 0.50

Tested by

no test coverage detected