Skip to content

[HOTFIX] ProfileInputView BottomSheet 컴파일 오류 수정#52

Merged
khyeji98 merged 1 commit into
developfrom
hotfix/#51
May 26, 2026
Merged

[HOTFIX] ProfileInputView BottomSheet 컴파일 오류 수정#52
khyeji98 merged 1 commit into
developfrom
hotfix/#51

Conversation

@khyeji98
Copy link
Copy Markdown
Collaborator

개요

PR #49에서 BottomSheet API를 buttons: [ButtonConfig] 배열에서 primaryButton: ButtonConfig? / secondaryButton: ButtonConfig? 옵셔널 파라미터로 변경하였으나, ProfileInputView의 호출부가 누락되어 컴파일 오류가 발생하는 문제를 긴급 수정합니다.

변경 사항

  • ProfileInputView: buttons: [...]primaryButton: / secondaryButton: 파라미터로 교체
  • AuthFlowFeature: guard letEffect.run 밖으로 이동하여 departureID가 없을 때 불필요한 Task 생성 방지

To Reviewer

ProfileInputView의 BottomSheet 호출부가 API 변경에서 누락된 부분을 수정하였습니다. AuthFlowFeatureguard let 위치 개선도 함께 포함되어 있습니다.

Closes #51

- ProfileInputView: buttons 배열을 primaryButton/secondaryButton으로 교체
- AuthFlowFeature: guard let을 Effect.run 밖으로 이동해 불필요한 Task 생성 방지

Closes #51
Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BottomSheet API 변경에 따른 ProfileInputView 컴파일 오류 수정과 AuthFlowFeatureEffect.run 호출 효율 개선 변경 사항이 잘 적용되었습니다.

if case .departure = state.path[id: id] { return true }
return false
}
guard let id = departureID else { return .none }
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 [P3] Minor

guard letEffect.run 밖으로 이동하여 departureID가 없을 때 불필요한 Task 생성을 방지한 좋은 개선입니다. Effect 생성 전에 조건을 확인하여 효율적인 로직 흐름을 만듭니다.

@khyeji98 khyeji98 merged commit e2b4ac7 into develop May 26, 2026
1 check passed
@khyeji98 khyeji98 deleted the hotfix/#51 branch May 26, 2026 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant