MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / onBack

Function onBack

console/src/components/formComponentsV2.tsx:131–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129 const hasMoreSteps = steps.length - 1 > activeStep;
130
131 const onBack = () => {
132 if (activeStep === 0) {
133 return onClose();
134 }
135 return goToPrevious();
136 };
137
138 const handleNextClick = () => {
139 if (advanceType === "submit") {

Callers

nothing calls this directly

Calls 2

onCloseFunction · 0.70
goToPreviousFunction · 0.50

Tested by

no test coverage detected