Skip to content

Commit

Permalink
feat: Active Todo 조회 메서드 구현 resolve #74
Browse files Browse the repository at this point in the history
  • Loading branch information
daeseong9388 committed Nov 24, 2022
1 parent 38a5776 commit 8fd9ace
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/core/todo/todoList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export class TodoList {
}

getActiveTodo(): Todo {
return new Todo();
return this.todoList[0].clone();
}

sort(): Todo[] {
Expand Down

0 comments on commit 8fd9ace

Please sign in to comment.