import { Box, Image, Skeleton, Tab, TabIndicator, TabList, TabPanel, TabPanels, Tabs, Text, } from "@chakra-ui/react"; // import error from "../assets/Error.svg" // import robot from "../../../assets/robot.png" import { useContext, useEffect, useState } from "react"; import { OPACITY_ON_LOAD } from "../../Layout/animations"; import InvestmentCard from "../../Components/InvestmentCard/InvestmentCard"; import GlobalStateContext from "../../Contexts/GlobalStateContext"; // import robot from "../assets/robot.png" const ExchangeRate = () => { const { investment, setInvestment } = useContext(GlobalStateContext); const [isLoading, setIsLoading] = useState(true); useEffect(() => { // Simulate loading const timer = setTimeout(() => { setIsLoading(false); }, 1500); // Cleanup the timer on component unmount return () => clearTimeout(timer); }, []); return ( All Available Upcomming Closed {investment?.map((investmentDetails, index) => ( ))}

two!

three!

three!

); }; export default ExchangeRate;