This commit is contained in:
Sam
2019-01-04 10:07:24 +01:00
parent e412907e36
commit 5de1fe4e94
13 changed files with 250 additions and 235 deletions

View File

@ -6,7 +6,8 @@ import { connect } from 'react-redux'
import { Link } from 'react-router-dom'
import { getMonthActivities } from '../../actions/activities'
import { getDateWithTZ, recordsLabels } from '../../utils'
import { getDateWithTZ } from '../../utils'
import { recordsLabels } from '../../utils/activities'
const getStartAndEndMonth = date => {
const monthStart = dateFns.startOfMonth(date)

View File

@ -1,7 +1,7 @@
import React from 'react'
import { Link } from 'react-router-dom'
import { formatRecord } from '../../utils'
import { formatRecord } from '../../utils/activities'
export default function RecordsCard (props) {
const { records, sports, user } = props