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}>
<StepLabel>{label}</StepLabel>
<StepContent>
{activePage(controls, rest)}
{activePage(controls, ...rest)}
</StepContent>
</FormStep>
))}