From f0498b399b55f4dc12ba0df731efd8487ca484db Mon Sep 17 00:00:00 2001 From: Vu Bui Date: Tue, 13 Jul 2021 18:00:55 +0700 Subject: [PATCH] update --- index.js | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) 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)} +
+
-
+
} -- 2.14.0