import React, { useState, useEffect, useCallback } from "react"; const HomeFaq = () => { const [openFaqIndex, setOpenFaqIndex] = useState(0); const faqs = [ { question: "1. Does using an eSIM/ SIM incur any additional fees or services?", answer: "No. The price shown in the order already includes all costs, and no additional fees will arise during usage.", }, { question: "2. I received the email but there is no QR code.", answer: "Please check your spam or junk folder first. If it's not there, contact our support team via Zalo OA or WhatsApp with your order ID, and we will assist you in resending the QR code manually.", }, { question: "3. I lost my SIM while traveling abroad. Can it be reissued?", answer: "For eSIMs, we can easily resend the digital profile to your registered email. For physical SIMs, reissuance while abroad may be difficult due to shipping; we recommend switching to an eSIM if your device supports it.", }, ]; const toggleFaq = (index: number) => { setOpenFaqIndex(openFaqIndex === index ? null : index); }; return ( <>

Frequently Asked Questions

We are always here to support you.

{faqs.map((faq, index) => (

{faq.answer}

))}
); }; export default HomeFaq;