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

View File

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

View File

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

View File

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

View File

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

View File

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