You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2020/06/01 14:36:38 UTC
[incubator-apisix-dashboard] 01/02: fix step
This is an automated email from the ASF dual-hosted git repository.
juzhiyuan pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-apisix-dashboard.git
commit 997a0f2cf3b54c11911d2e29bbd99f5176db92f2
Author: juzhiyuan <jj...@gmail.com>
AuthorDate: Mon Jun 1 22:34:40 2020 +0800
fix step
---
src/pages/Routes/Create.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/pages/Routes/Create.tsx b/src/pages/Routes/Create.tsx
index ac46cfe..e1f1853 100644
--- a/src/pages/Routes/Create.tsx
+++ b/src/pages/Routes/Create.tsx
@@ -52,11 +52,11 @@ const Create: React.FC = () => {
);
}
- if (step === 3) {
+ if (step === 2) {
return <CreateStep3 data={data} onChange={setStep3Data} />;
}
- if (step === 4) {
+ if (step === 3) {
return <CreateStep4 data={data} onChange={() => {}} />;
}