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