Skip to content

Commit e35f43a

Browse files
committed
feat: 탈퇴하기 indicator 수정
1 parent eb4e59f commit e35f43a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Projects/Feature/MyPage/Interface/Sources/MyPage/MyPageFeature.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ extension MyPageFeature {
4747
actions: { ButtonState(role: .destructive, action: .confirmWithdrawal, label: { TextState("탈퇴하기") }) },
4848
message: { TextState("탈퇴 시 계정 복구가 어려워요.\n정말 탈퇴하시겠어요?") }
4949
))
50-
return .send(.delegate(.withdrawalButtonDidTapped))
50+
return .none
5151

5252
case .withdrawalDidCompleted:
5353
KeyChainTokenStore.shared.deleteAll()
@@ -63,6 +63,7 @@ extension MyPageFeature {
6363

6464
case .confirmWithdrawal:
6565
return .run { send in
66+
await send(.delegate(.withdrawalButtonDidTapped))
6667
try await authClient.withdraw()
6768
if !KeyChainTokenStore.shared.load(property: .AppleUserID).isEmpty {
6869
// clientSceret 받아오기

0 commit comments

Comments
 (0)