refactor
This commit is contained in:
@ -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)
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user