diff --git a/src/v2/components/Dashboard/NetworkOverview/StatCards/styles.js b/src/v2/components/Dashboard/NetworkOverview/StatCards/styles.js index f28fffbf..df205fd2 100644 --- a/src/v2/components/Dashboard/NetworkOverview/StatCards/styles.js +++ b/src/v2/components/Dashboard/NetworkOverview/StatCards/styles.js @@ -23,7 +23,7 @@ export default makeStyles(theme => ({ lineHeight: 1.3, fontWeight: 'bold', color: getColor('main')(theme), - marginTop: 40, + marginTop: 35, letterSpacing: 3.4, }, }, diff --git a/src/v2/components/TourDeSol/Stage.jsx b/src/v2/components/TourDeSol/Stage.jsx index c2af71c5..a8b66f27 100644 --- a/src/v2/components/TourDeSol/Stage.jsx +++ b/src/v2/components/TourDeSol/Stage.jsx @@ -1,11 +1,11 @@ // @flow import React from 'react'; import cn from 'classnames'; -import format from 'date-fns/format'; -import {eq, lt} from 'lodash/fp'; +// import format from 'date-fns/format'; +import {eq /*lt*/} from 'lodash/fp'; import {observer} from 'mobx-react-lite'; import {TDS_ACTIVE_STAGE} from 'v2/constants'; -import iconRight from 'v2/assets/icons/arrow-right-dark.png'; +// import iconRight from 'v2/assets/icons/arrow-right-dark.png'; type StageProps = { className: string, @@ -24,18 +24,21 @@ const Stage = ({className, activeClass, stage}: StageProps) => { return null; } const isActive = eq(stage.id, TDS_ACTIVE_STAGE); - const isFinished = lt(stage.id, TDS_ACTIVE_STAGE); - const stageDateStart = format(new Date(stage.startDate), 'P'); - const stageDateEnd = format(new Date(stage.endDate), 'P'); + // const isFinished = lt(stage.id, TDS_ACTIVE_STAGE); + // const stageDateStart = format(new Date(stage.startDate), 'P'); + // const stageDateEnd = format(new Date(stage.endDate), 'P'); return (