diff --git a/src/Onboarding.jsx b/src/Onboarding.jsx index 3ce8f61..d812efd 100644 --- a/src/Onboarding.jsx +++ b/src/Onboarding.jsx @@ -211,46 +211,4 @@ function manageOnboardingContent_onSlide(currentState=0) { ]; return { content: onboardingContent[currentState], totalSlideCount: onboardingContent.length - 1}; -} - -// showSlideCount is a sub-component here -// getting used to render the active-slide navigation feature - -// function ShowSlideNavigation({activeSlideIndex=0, totalSlideCount}) { -// let dotsContainer = []; -// useEffect(() => { -// for (let dotCount = 0; dotCount <= totalSlideCount; dotCount++) { -// dotsContainer.push( -// dotCount === activeSlideIndex -// ? -// -// -// : -// -// -// ) -// } -// }); - -// if (!totalSlideCount) return ; - -// if (!activeSlideIndex) { -// return ( -// -// -// {dotsContainer.map((dot, dotIndex) => { -// return ( -// {dot} -// ) -// })} -// -// -// ) -// } else { -// return ( -// - -// -// ) -// } -// } \ No newline at end of file +} \ No newline at end of file