diff --git a/src/components/Tasks/TaskListItem.tsx b/src/components/Tasks/TaskListItem.tsx index 664097e..26b4407 100644 --- a/src/components/Tasks/TaskListItem.tsx +++ b/src/components/Tasks/TaskListItem.tsx @@ -11,9 +11,7 @@ import CheckBoxOutlineBlankIcon from '@material-ui/icons/CheckBoxOutlineBlank'; import * as colors from '@material-ui/core/colors'; import Chip from '@material-ui/core/Chip'; -import moment from 'moment'; - -import { mapPriority } from '../../helpers'; +import { mapPriority, formatDate } from '../../helpers'; const checkboxColor = { [TaskPriorityType.Undefined]: colors.grey[600], @@ -57,7 +55,7 @@ export default React.memo(function TaskListItem(props: PropsType) { return ( onClick(task)} leftIcon={