updated NavBar and api for EcoSystem

This commit is contained in:
rockyeverlast
2024-05-16 20:26:31 +05:30
parent 8e2fb1d1d8
commit e167bd8ce5
2 changed files with 7 additions and 1 deletions

View File

@@ -43,7 +43,7 @@ const NavBar = () => {
const [isHoveredCommunity, setIsHoveredCommunity] = useState(false);
const [windowWidth, setWindowWidth] = useState(window.innerWidth);
const { data } = useGetUseCaseQuery();
console.log(data);
// console.log(data);
const useCase = data?.data?.rows;
const location = useLocation();

View File

@@ -1,9 +1,15 @@
/* eslint-disable no-unused-vars */
import EcoBanner from "../components/EcoPage/EcoBanner";
import EnterPrises from "../components/EcoPage/EnterPrises";
import LearnMore from "../components/Community/LearnMore";
import LearnDev from "../components/LearnPage/LearnDev";
import { useEffect } from "react";
const Ecosystem = () => {
useEffect(() => {
window.scrollTo(0, 0);
}, []);
return (
<div>
<EcoBanner />