Skip to content

Commit d52aca6

Browse files
committed
margin for FlightdetailCard is fixed
1 parent ceec922 commit d52aca6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/components/ReturnFlights/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const ReturnFlights = ({
1616
return (
1717
<Grid container className={classes.root}>
1818
<Grid item className={classes.margin}>
19-
<FlightDetailCard from={from} to={to} flight={flight} onClose={onClose} headerName={'Departure flight'} />
19+
<FlightDetailCard from={from} to={to} flight={flight} onClose={'onClose'} headerName={'Departure flight'} />
2020
</Grid>
2121
<Grid item>
2222
<SearchResults
@@ -35,7 +35,6 @@ const useStyles = makeStyles(theme => ({
3535
marginTop: theme.spacing(8)
3636
},
3737
margin: {
38-
marginLeft: theme.spacing(1),
39-
marginRight: theme.spacing(1)
38+
margin: theme.spacing(1)
4039
}
4140
}));

0 commit comments

Comments
 (0)