🎨 Minor store-hooks cleanup

This commit is contained in:
Philipp Stracker 2025-01-27 11:23:23 +01:00
parent 7a6ec6a1fe
commit ab5bcd53f4
No known key found for this signature in database

View file

@ -95,7 +95,6 @@ export const useStore = () => {
export const usePaymentMethods = () => {
const {
setPersistent,
paypal,
venmo,
payLater,
@ -137,10 +136,7 @@ export const usePaymentMethods = () => {
oxxo,
];
return {
setPersistent,
paymentMethods,
};
return { paymentMethods };
};
export const usePaymentMethodsModal = () => {
@ -168,9 +164,7 @@ export const usePaymentMethodsPayPalCheckout = () => {
creditCard,
];
return {
paymentMethodsPayPalCheckout,
};
return { paymentMethodsPayPalCheckout };
};
export const usePaymentMethodsOnlineCardPayments = () => {
@ -182,9 +176,7 @@ export const usePaymentMethodsOnlineCardPayments = () => {
googlePay,
];
return {
paymentMethodsOnlineCardPayments,
};
return { paymentMethodsOnlineCardPayments };
};
export const usePaymentMethodsAlternative = () => {
@ -214,7 +206,5 @@ export const usePaymentMethodsAlternative = () => {
oxxo,
];
return {
paymentMethodsAlternative,
};
return { paymentMethodsAlternative };
};