Destructuring form props to Stepper children

This commit is contained in:
apanizo 2018-09-24 17:09:43 +02:00
parent eda63553b1
commit 07974a8101
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ class GnoStepper extends React.PureComponent<Props, State> {
<FormStep key={label}> <FormStep key={label}>
<StepLabel>{label}</StepLabel> <StepLabel>{label}</StepLabel>
<StepContent> <StepContent>
{activePage(controls, rest)} {activePage(controls, ...rest)}
</StepContent> </StepContent>
</FormStep> </FormStep>
))} ))}