REACT – Component is not re-rendering although the state is changing

import { Row,Col,Navbar,Button,Form,Card,Image,Table,Container, Stack} from "react-bootstrap";
import {Link, useNavigate,useParams} from "react-router-dom"
import {React, useState,useEffect} from 'react';
import './GameComponents.css' 
import API from "../API.mjs";

//ignore this component
function Timer(){
    const [seconds,setSeconds]= useState(30);
    const [percentage, setPercentage] = useState(100);
    useEffect(() => {
        if (seconds > 0) {
          const timerId = setTimeout(() => {
            setSeconds(seconds - 1);
            setPercentage((seconds - 1) / 30 * 100); // Calculate percentage
            }, 1000);
          return () => clearTimeout(timerId); // clean timeout
        }
      }, [seconds]);
    return(    
    <Card> 
        <Card.Body> 
        <div>
      <h1 className="TimerTitle">Timer: {seconds} seconds</h1>
      <div className="progress-bar">
        <div
          className="progress-bar-fill"
          style={{ width: `${percentage}%` }}
        ></div>
      </div>
    </div>

        </Card.Body> 
    </Card> 
    );
}
//ignore this component 
function ImageContainer(props){

    //console.log(props.memes);
    return(
    <Image className="image-container image-border" src='./src/images/tradeoffer.jpg' rounded/>
);

}
//console.log is not printed the first time, then it is printed
function AnswersContainer(props){
    console.log(props.captions)
return(<>
 <Stack gap={5} className="CaptionComponent">
    {props.captions.map((caption)=>{
        <Row><Answer caption={caption}/></Row>
    })}
    </Stack>
</>)

}
//this console.log() is never printed
function Answer(props){
    console.log("inside answer")
    return(
        <Row>
            <Button variant="light">{props.caption}</Button>
        </Row>
    );
    
}
function GameComponent(){
    const [memes,setMemes]= useState([]);
    const [captions,setCaptions]= useState([]);

    //useEffect to set memes state
    useEffect(()=>{
        const getMeme=async ()=>{
            const m=await API.getMemes();
            setMemes(m);
        }
        getMeme();
    },[]);  

    //useEffect to set captions state
    useEffect(()=>{
        const getCaption=async ()=>{
            const c=await API.getCaptions();
            setCaptions(c);
        }
        getCaption();
    },[]);  

    return(<>
    <Container className="MainContainer">
        <Card>
            <Row>
                <Timer/>
            </Row>
            <Row>
                <Col md={6}> 
                    <ImageContainer memes={memes}/>
                </Col>
                <Col md={6}>
                    <AnswersContainer captions={captions}/>
                </Col>
            </Row>
        </Card>
    </Container> 
    </>);
}

export default GameComponent;

Hi everybody I’m writing because I have a problem, in the function GameComponent() I use an useEffect to change the state of captions, which I then use in the AnswerContainer and Answer components to show the possible answer (the app I’m trying to make has a table with a meme on the left column and 7 possible captions/answers which I get from the server through the API call).

the problem is that I’m not seeing anything in the Answer components, not even the console.log(), while in the AnswerContainer component I see the console.log of props.caption, the first are empty, then I see the console.log() actually print the captions I wrote in the DB, so this reassure me the API call works, the state is updated but no component re-rendering

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật