Skip to content

Commit

Permalink
fix: bugfix for redirection
Browse files Browse the repository at this point in the history
  • Loading branch information
Riddhiagrawal001 committed Dec 20, 2023
1 parent 037a331 commit 82865a9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,9 @@ let make = (
if isRedirectedFromPaypalModal {
getStatus()->ignore
}
RescriptReactRouter.replace("/connectors/new?name=paypal")
if !isUpdateFlow {
RescriptReactRouter.replace("/connectors/new?name=paypal")
}
setSetupAccountStatus(._ => Account_not_found)
None
})
Expand Down

0 comments on commit 82865a9

Please sign in to comment.