Destructuring form props to Stepper children
This commit is contained in:
parent
eda63553b1
commit
07974a8101
|
@ -158,7 +158,7 @@ class GnoStepper extends React.PureComponent<Props, State> {
|
|||
<FormStep key={label}>
|
||||
<StepLabel>{label}</StepLabel>
|
||||
<StepContent>
|
||||
{activePage(controls, rest)}
|
||||
{activePage(controls, ...rest)}
|
||||
</StepContent>
|
||||
</FormStep>
|
||||
))}
|
||||
|
|
Loading…
Reference in New Issue