file reorganization
This commit is contained in:
parent
af5b0e1889
commit
8e5f83d909
@ -8,7 +8,7 @@ import ActivityDetails from './ActivityDetails'
|
||||
import ActivityMap from './ActivityMap'
|
||||
import ActivityNoMap from './ActivityNoMap'
|
||||
import ActivityNotes from './ActivityNotes'
|
||||
import CustomModal from './../../Others/CustomModal'
|
||||
import CustomModal from '../../Common/CustomModal'
|
||||
import { getOrUpdateData } from '../../../actions'
|
||||
import { deleteActivity } from '../../../actions/activities'
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
import React from 'react'
|
||||
|
||||
import { formatDuration } from '../../utils'
|
||||
import { formatDuration } from '../../../utils'
|
||||
|
||||
const formatValue = (displayedData, value) => displayedData === 'duration'
|
||||
? formatDuration(value, true)
|
@ -4,7 +4,7 @@ import {
|
||||
} from 'recharts'
|
||||
|
||||
import { activityColors, formatDuration } from '../../../utils'
|
||||
import CustomTooltip from '../CustomTooltip'
|
||||
import CustomTooltip from './CustomTooltip'
|
||||
|
||||
|
||||
export default class StatsCharts extends React.PureComponent {
|
@ -1,7 +1,7 @@
|
||||
import { endOfMonth, startOfMonth } from 'date-fns'
|
||||
import React from 'react'
|
||||
|
||||
import Stats from '../Others/Stats'
|
||||
import Stats from '../Common/Stats'
|
||||
|
||||
|
||||
export default class Statistics extends React.Component {
|
||||
|
@ -4,7 +4,7 @@ import { connect } from 'react-redux'
|
||||
import { Link } from 'react-router-dom'
|
||||
|
||||
import ActivityCard from './ActivityCard'
|
||||
import Calendar from './../Others/Calendar'
|
||||
import Calendar from './Calendar'
|
||||
import Records from './Records'
|
||||
import Statistics from './Statistics'
|
||||
import UserStatistics from './UserStatistics'
|
||||
|
@ -1,7 +1,7 @@
|
||||
import { endOfMonth, startOfMonth, subMonths } from 'date-fns'
|
||||
import React from 'react'
|
||||
|
||||
import Stats from '../Others/Stats'
|
||||
import Stats from '../Common/Stats'
|
||||
|
||||
|
||||
export default class Statistics extends React.Component {
|
||||
|
Loading…
Reference in New Issue
Block a user