diff --git a/src/components/domains/chat/CreditsModals/RefillOptionsModal/RefillOptionsModal.tsx b/src/components/domains/chat/CreditsModals/RefillOptionsModal/RefillOptionsModal.tsx index 596c6d8..16d38f6 100644 --- a/src/components/domains/chat/CreditsModals/RefillOptionsModal/RefillOptionsModal.tsx +++ b/src/components/domains/chat/CreditsModals/RefillOptionsModal/RefillOptionsModal.tsx @@ -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, }); };