Skip to content

Commit

Permalink
fix add payment , rm BA id
Browse files Browse the repository at this point in the history
  • Loading branch information
OmerGery committed Jan 21, 2024
1 parent bc6dbc6 commit 61554a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/client/Locomotion/src/pages/Payments/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default ({ menuSide }) => {
} = usePayments;
const {
updateRidePayload,
updateBusinessAccountId,
} = useContext(RidePageContext);

const [pageLoading, setPageLoading] = useState(true);
Expand Down Expand Up @@ -78,6 +79,7 @@ export default ({ menuSide }) => {
updateRidePayload({
paymentMethodId,
});
updateBusinessAccountId(null);
navigationService.navigate(MAIN_ROUTES.HOME);
} else {
setShowList(true);
Expand Down

0 comments on commit 61554a9

Please sign in to comment.