Skip to content

Commit c75c949

Browse files
committed
Filled props
1 parent 376f1fd commit c75c949

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/screens/projects/components/ProjectModals/ProjectModal.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ export default observer(function ProjectModal({
3030
key: String(Date.now()),
3131
title: projectName,
3232
color: color || '',
33+
children: [],
34+
expanded: true,
35+
deletable: true,
3336
})
3437
);
3538
onClose();

src/screens/projects/components/TaskInput.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ export default observer(function TaskInput() {
2323
children: [],
2424
datesInProgress: [],
2525
details: [],
26+
parent: null, // Add into root
27+
expanded: true,
2628
})
2729
);
2830
setText('');

0 commit comments

Comments
 (0)