Skip to content

Commit 052eaef

Browse files
committed
[CHORE] 불필요한 코드 삭제 (#604)
1 parent 81fa5cb commit 052eaef

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Manito/Manito/Screens/Detail-Wait/UIComponent/CalendarView.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ final class CalendarView: UIView {
6666
// MARK: - property
6767

6868
private var selectStartDate: Date = Date()
69-
var changeButtonState: ((Bool) -> ())?
7069
var startDateText: String = ""
7170
var endDateText: String = ""
7271
private var tempStartDateText: String = ""
@@ -133,8 +132,6 @@ final class CalendarView: UIView {
133132
func setupButtonState() {
134133
let hasDate = self.tempStartDateText != "" && self.tempEndDateText != ""
135134
self.delegate?.detectChangeButton(hasDate)
136-
// FIXME: - delegate로 통일 후 삭제해야함
137-
self.changeButtonState?(hasDate)
138135
}
139136

140137
private func setupDelegation() {

0 commit comments

Comments
 (0)