Remove projects specifics step from stepper and summary (keeps code)

This commit is contained in:
Dana Lambert 2021-11-05 14:32:50 +13:00
parent 11042b029a
commit 98a679eaf3
2 changed files with 0 additions and 13 deletions

View file

@ -18,7 +18,6 @@ const steps = [
{ 'label': 'Choose soil', 'component': SoilStep }, { 'label': 'Choose soil', 'component': SoilStep },
{ 'label': 'Choose habitat', 'component': HabitatStep }, { 'label': 'Choose habitat', 'component': HabitatStep },
{ 'label': 'Select zone', 'component': ZoneStep }, { 'label': 'Select zone', 'component': ZoneStep },
{ 'label': 'Project specifics', 'component': ProjectSpecificsStep },
{ 'label': 'Summary', 'component': SummaryStep }, { 'label': 'Summary', 'component': SummaryStep },
{ 'label': 'Results', 'component': ResultsStep } { 'label': 'Results', 'component': ResultsStep }
]; ];

View file

@ -51,10 +51,6 @@ export default function SummaryContent(props) {
createData('Zone Refined Variant', (props.filters.zone && props.filters.zone.refined_variant) ?? "") createData('Zone Refined Variant', (props.filters.zone && props.filters.zone.refined_variant) ?? "")
]; ];
const projectSpecificsData = [
createData('Requrements', '')
];
return ( return (
<div className='summary-content'> <div className='summary-content'>
<Typography mb={2} mt={2} >Please review your choices presented below: </Typography> <Typography mb={2} mt={2} >Please review your choices presented below: </Typography>
@ -88,14 +84,6 @@ export default function SummaryContent(props) {
<SummaryTable rows={siteData} /> <SummaryTable rows={siteData} />
</AccordionDetails> </AccordionDetails>
</Accordion> </Accordion>
<Accordion expanded={expanded === 'panel4'} onChange={handleChange('panel4')} >
<AccordionSummary expandIcon={<ExpandMoreIcon />} >
<Typography>4. Project Specifics</Typography>
</AccordionSummary>
<AccordionDetails>
<SummaryTable rows={projectSpecificsData} />
</AccordionDetails>
</Accordion>
</div> </div>
) )
} }