Skip to content

Commit 206cb79

Browse files
committed
remove unwanted code
1 parent 6ca49f2 commit 206cb79

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

models/tasks.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ const addDependency = async (data) => {
6767
const fetchTasks = async () => {
6868
try {
6969
const tasksSnapshot = await tasksModel.get();
70-
const dependencySnapshot = await dependencyModel.get();
71-
const tasks = buildTasks(tasksSnapshot, dependencySnapshot);
70+
const tasks = buildTasks(tasksSnapshot);
7271
const promises = tasks.map(async (task) => fromFirestoreData(task));
7372
const updatedTasks = await Promise.all(promises);
7473
const taskList = updatedTasks.map((task) => {

0 commit comments

Comments
 (0)