From b33f08e9a0593998534fd1f28a002c3536e667a4 Mon Sep 17 00:00:00 2001 From: c9s Date: Tue, 2 Feb 2021 11:46:04 +0800 Subject: [PATCH] adjust steps --- frontend/components/ExchangeSessionReview.js | 3 --- frontend/components/ExchangeSessionTest.js | 4 ---- frontend/pages/setup/index.js | 12 ++++++------ 3 files changed, 6 insertions(+), 13 deletions(-) delete mode 100644 frontend/components/ExchangeSessionReview.js delete mode 100644 frontend/components/ExchangeSessionTest.js diff --git a/frontend/components/ExchangeSessionReview.js b/frontend/components/ExchangeSessionReview.js deleted file mode 100644 index 9bd032dc6..000000000 --- a/frontend/components/ExchangeSessionReview.js +++ /dev/null @@ -1,3 +0,0 @@ -export default function ExchangeSessionReview() { - return <> ; -} diff --git a/frontend/components/ExchangeSessionTest.js b/frontend/components/ExchangeSessionTest.js deleted file mode 100644 index 8eb9a8385..000000000 --- a/frontend/components/ExchangeSessionTest.js +++ /dev/null @@ -1,4 +0,0 @@ - -export default function ExchangeSessionTest() { - return <> ; -} diff --git a/frontend/pages/setup/index.js b/frontend/pages/setup/index.js index 6015b30c9..9e5419fed 100644 --- a/frontend/pages/setup/index.js +++ b/frontend/pages/setup/index.js @@ -9,8 +9,6 @@ import Step from '@material-ui/core/Step'; import StepLabel from '@material-ui/core/StepLabel'; import ExchangeSessionForm from "../../components/ExchangeSessionForm"; -import ExchangeSessionReview from "../../components/ExchangeSessionReview"; -import ExchangeSessionTest from "../../components/ExchangeSessionTest"; import PlainLayout from '../../layouts/PlainLayout'; @@ -20,16 +18,18 @@ const useStyles = makeStyles((theme) => ({ }, })); -const steps = ['Add Exchange Session', 'Configure Strategy', 'Restart']; +const steps = ['Configure Database', 'Add Exchange Session', 'Configure Strategy', 'Restart BBGO']; function getStepContent(step) { switch (step) { case 0: - return ; + return; case 1: - return ; + return ; case 2: - return ; + return; + case 3: + return; default: throw new Error('Unknown step'); }