fix(gift): 취소 완료 후 제출 상태를 해제한다

This commit is contained in:
Yu Sung
2026-10-08 17:36:42 +09:00
parent 35a98c2259
commit 2ae2a6b494
2 changed files with 23 additions and 1 deletions
@@ -89,8 +89,9 @@ final class GiftDetailViewModel: ObservableObject {
self.hasCompletedCancellation = true
self.isShowingCancelDialog = false
self.onCanceled(self.applicationNo) { [weak self] didReplace in
guard let self, !didReplace else { return }
guard let self else { return }
self.isCancelSubmitting = false
guard !didReplace else { return }
self.fetch()
}
} catch {