Skip to content

Commit 83dddba

Browse files
Fixed some build errors
1 parent 5e4db95 commit 83dddba

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

src/screens/wizardExample/components/WizardExampleContainer.js

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import React, { Component } from "react";
22
import { connect } from "react-redux";
3-
// import { reduxForm, Field } from "redux-form";
3+
// import { Field } from "redux-form";
44
import wizard from "../../../modules/wizard";
55
import PageWithValidations from "./PageWithValidations";
66
import PageWithInitializations from "./PageWithInitializations";
77

88
const {
9-
components: { Wizard, WizardPage },
10-
selectors: { getWizardState, wizardIsDisposing, wizardIsDone }
9+
components: { WizardPage, Wizard },
10+
selectors: { wizardIsDisposing, wizardIsDone, getWizardState }
1111
} = wizard;
1212

1313
const PageWithProps = ({ passedInData }) => (
@@ -22,6 +22,14 @@ const SimplePage = () => (
2222
</WizardPage>
2323
);
2424

25+
// const required = value => value;
26+
27+
// const PageWithReduxFormsValidations = () => (
28+
// <form name="wizardForm">
29+
// <Field component={text} name="test" validations={[required]} />
30+
// </form>
31+
// );
32+
2533
class WizardExampleContainer extends Component {
2634
componentDidUpdate(prevProps) {
2735
if (wizardIsDisposing(prevProps, this.props)) {
@@ -46,7 +54,7 @@ class WizardExampleContainer extends Component {
4654
pages={[
4755
{
4856
component: SimplePage,
49-
title: "Step 1: Page with initializations"
57+
title: "Step 1: Simple page"
5058
},
5159
{
5260
component: PageWithProps,

0 commit comments

Comments
 (0)