diff --git a/src/components/Tasks/TaskListItem.tsx b/src/components/Tasks/TaskListItem.tsx index 40c4c42..09c3d10 100644 --- a/src/components/Tasks/TaskListItem.tsx +++ b/src/components/Tasks/TaskListItem.tsx @@ -10,6 +10,10 @@ import Checkbox from '@material-ui/core/Checkbox'; import CheckBoxOutlineBlankIcon from '@material-ui/icons/CheckBoxOutlineBlank'; import * as colors from '@material-ui/core/colors'; +import moment from 'moment'; + +import { mapPriority } from '../../helpers'; + const checkboxColor = { [TaskPriorityType.Undefined]: colors.grey[600], [TaskPriorityType.Low]: colors.blue[600], @@ -17,10 +21,6 @@ const checkboxColor = { [TaskPriorityType.High]: colors.red[600], }; -import moment from 'moment'; - -import { mapPriority } from '../../helpers'; - interface PropsType { entry: TaskType; onClick: (task: TaskType) => void;