diff --git a/index.js b/index.js index caa8580..8af2333 100644 --- a/index.js +++ b/index.js @@ -22,7 +22,7 @@ function BookingWizard(props) { dispatch({ type: 'BW_SHOW_BOOKING_MODAL', payload: false }) } - const renderStep = (step)=> { + const renderStep = (step) => { switch (step) { case 'step-login': return @@ -39,7 +39,7 @@ function BookingWizard(props) {
- {step!=='step-login' &&
+ {step !== 'step-login' &&
@@ -47,17 +47,17 @@ function BookingWizard(props) {
-
} +
}
- + {renderStep(step)}
- -
+ +
} @@ -72,10 +72,24 @@ function BookingWizard(props) {
+ {step !== 'step-login' &&
+
+
+ + Confirm your services +
+
+
+
} +
+
+ {renderStep(step)} +
+
-
+
}