file reorganization

This commit is contained in:
Sam 2019-01-03 12:53:47 +01:00
parent af5b0e1889
commit 8e5f83d909
9 changed files with 6 additions and 6 deletions

View File

@ -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'

View File

@ -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)

View File

@ -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 {

View File

@ -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 {

View File

@ -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'

View File

@ -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 {