diff --git a/src/components/taskListItem.tsx b/src/components/taskListItem.tsx index 20aaa2c..1498327 100644 --- a/src/components/taskListItem.tsx +++ b/src/components/taskListItem.tsx @@ -4,7 +4,7 @@ import React, {useEffect, useState} from 'react'; //local imports import themeProvider from '../providers/themeProvider'; -import getStoredTasks from '../utils/currentTasks'; +import getStoredTasks from '../utils/getStoredTasks'; import {taskType, tasksType, TaskType} from './types'; import checkDate from '../utils/checkDate'; import useIsDarkMode from '../utils/checkDarkMode'; diff --git a/src/components/taskPopup.tsx b/src/components/taskPopup.tsx index 6973fc9..511e8d4 100644 --- a/src/components/taskPopup.tsx +++ b/src/components/taskPopup.tsx @@ -6,10 +6,10 @@ import {updateTask} from '../services/taskratchet/updateTask'; //local imports import themeProvider from '../providers/themeProvider'; -import getStoredTasks from '../utils/currentTasks'; +import getStoredTasks from '../utils/getStoredTasks'; import checkDate from '../utils/checkDate'; import useIsDarkMode from '../utils/checkDarkMode'; -import tasks from '../utils/currentTasks'; +import tasks from '../utils/getStoredTasks'; import {TaskPopupProps, TaskType} from './types'; import convertCents from '../utils/convertCents'; diff --git a/src/screens/HomeScreen.tsx b/src/screens/HomeScreen.tsx index 39a700f..05e2bba 100644 --- a/src/screens/HomeScreen.tsx +++ b/src/screens/HomeScreen.tsx @@ -29,7 +29,7 @@ import {Props, TaskType} from '../components/types'; import TaskPopup from '../components/taskPopup'; import InfoPopup from '../components/infoPopup'; import getStoredUser from '../utils/getStoredUser'; -import getStoredTasks from '../utils/currentTasks'; +import getStoredTasks from '../utils/getStoredTasks'; import checkDate from '../utils/checkDate'; export default function HomeScreen({navigation}: Props): JSX.Element { diff --git a/src/utils/currentTasks.tsx b/src/utils/getStoredTasks.tsx similarity index 100% rename from src/utils/currentTasks.tsx rename to src/utils/getStoredTasks.tsx