update payment method
This commit is contained in:
@@ -60,7 +60,7 @@ const UpdatePaymentMethod: FC = () => {
|
||||
useEffect(() => {
|
||||
if (restaurantPaymentMethod) {
|
||||
formik.setValues({
|
||||
paymentMethodId: restaurantPaymentMethod.paymentMethodId || '',
|
||||
paymentMethodId: restaurantPaymentMethod.paymentMethod?.id || '',
|
||||
merchantId: restaurantPaymentMethod.merchantId || '',
|
||||
isActive: restaurantPaymentMethod.isActive ?? true,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user