Skip to content

Commit

Permalink
refactor: 필요없는 코드 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
iceHood committed Dec 10, 2024
1 parent 12ab2f0 commit 281285b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ final class EditPageCell: UITableViewCell {
super.prepareForReuse()

input.send(.pageWillDisappear)
cancellables.forEach { $0.cancel() }
cancellables = []
viewModel = nil
textView.text = ""
Expand Down Expand Up @@ -266,9 +265,7 @@ final class EditPageCell: UITableViewCell {
replacementText: text
) else { return }
attachment.dataSource = self
textStorage.beginEditing()
textStorage.append(text)
textStorage.endEditing()
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ final class EditPageViewModel: ViewModelType {
}

private func pageWillDisappear() {
cancellables.forEach { $0.cancel() }
cancellables = []
}

Expand Down

0 comments on commit 281285b

Please sign in to comment.