Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DavidHDev/react-bits
/ handleBack
Function
handleBack
src/content/Components/Stepper/Stepper.jsx:39–44 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
37
};
38
39
const handleBack = () => {
40
if (currentStep > 1) {
41
setDirection(-1);
42
updateStep(currentStep - 1);
43
}
44
};
45
46
const handleNext = () => {
47
if (!isLastStep) {
Callers
nothing calls this directly
Calls
1
updateStep
Function · 0.70
Tested by
no test coverage detected