Skip to content

Commit

Permalink
[#56] 리뷰 수정 시 생기는 에러 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
binisnil committed Sep 26, 2024
1 parent 45c97d3 commit 2a739d8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -340,12 +340,13 @@ final class SetRateViewController: BaseViewController {
)

/// 리뷰 데이터는 현재 페이지가 어디든 상관 없이 저장되어야 함
reviewList[currentPage] = (param, userPickedImage)
// reviewList[currentPage] = (param, userPickedImage)

switch reviewId {
case .none:

/// 현재 페이지가 마지막 메뉴에 대한 리뷰페이지일 때의 액션
reviewList[currentPage] = (param, userPickedImage)
if currentPage == selectedList.count - 1 {
self.navigationController?.isNavigationBarHidden = false
sendDataIfCurrentPageIsLast()
Expand Down

0 comments on commit 2a739d8

Please sign in to comment.