remove auto refill flag from options
This commit is contained in:
parent
cdeec20928
commit
1d7e8e5551
@ -5,7 +5,6 @@ import { useTranslations } from "next-intl";
|
||||
|
||||
import { Button, Spinner, Typography } from "@/components/ui";
|
||||
import { useSingleCheckout } from "@/hooks/payment/useSingleCheckout";
|
||||
import { useChatStore } from "@/providers/chat-store-provider";
|
||||
import { IRefillModals, IRefillModalsProduct } from "@/services/socket/events";
|
||||
|
||||
import BenefitsList from "../BenefitsList/BenefitsList";
|
||||
@ -29,8 +28,6 @@ export default function RefillOptionsModal({
|
||||
}: RefillOptionsModalProps) {
|
||||
const t = useTranslations("RefillOptionsModal");
|
||||
|
||||
const isAutoTopUp = useChatStore(state => state.isAutoTopUp);
|
||||
|
||||
const { handleSingleCheckout, isLoading } = useSingleCheckout({
|
||||
onSuccess: onPaymentSuccess,
|
||||
onError: onPaymentError,
|
||||
@ -46,7 +43,6 @@ export default function RefillOptionsModal({
|
||||
handleSingleCheckout({
|
||||
productId: selectedOption.id,
|
||||
key: selectedOption.key,
|
||||
isAutoTopUp,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user