Skip to content

Commit 900c942

Browse files
committed
refactor: Todo 태그 배열 변환 방식 정리
1 parent 714c7ca commit 900c942

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Application/DevLogPresentation/Sources/Home/TodoEditorViewModel.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ extension TodoEditorViewModel {
315315
updatedAt: date,
316316
completedAt: state.completedAt,
317317
dueDate: state.dueDate,
318-
tags: state.tags.map { $0 },
318+
tags: Array(state.tags),
319319
category: state.category.category
320320
)
321321
}
@@ -336,7 +336,7 @@ extension TodoEditorViewModel {
336336
completedAt: state.completedAt,
337337
deletedAt: self.deletedAt,
338338
dueDate: state.dueDate,
339-
tags: state.tags.map { $0 },
339+
tags: Array(state.tags),
340340
category: state.category.category
341341
)
342342
}

0 commit comments

Comments
 (0)