mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-21 22:43:52 +00:00
adjust steps
This commit is contained in:
parent
73762d9888
commit
b33f08e9a0
|
@ -1,3 +0,0 @@
|
|||
export default function ExchangeSessionReview() {
|
||||
return <> </>;
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
|
||||
export default function ExchangeSessionTest() {
|
||||
return <> </>;
|
||||
}
|
|
@ -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 <ExchangeSessionForm/>;
|
||||
return;
|
||||
case 1:
|
||||
return <ExchangeSessionReview/>;
|
||||
return <ExchangeSessionForm/>;
|
||||
case 2:
|
||||
return <ExchangeSessionTest/>;
|
||||
return;
|
||||
case 3:
|
||||
return;
|
||||
default:
|
||||
throw new Error('Unknown step');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user