Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
GMALKHA committed Dec 4, 2024
1 parent d60f6dd commit 3409509
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ struct PayPalWebPaymentsView: View {
if case .loaded = payPalWebViewModel.state.capturedOrderResponse {
PayPalOrderCompletionResultView(payPalWebViewModel: payPalWebViewModel)
} else if case .loaded = payPalWebViewModel.state.authorizedOrderResponse {
PayPalOrderCreateResultView(payPalWebViewModel: payPalWebViewModel)
PayPalOrderCompletionResultView(payPalWebViewModel: payPalWebViewModel)
}
}
.onChange(of: payPalWebViewModel.state) { _ in
Expand Down

0 comments on commit 3409509

Please sign in to comment.