diff --git a/src/App/ComponentsDocumentation/components/Card/index.js b/src/App/ComponentsDocumentation/components/Card/index.js index 7faca8ddaf..fad17cad99 100644 --- a/src/App/ComponentsDocumentation/components/Card/index.js +++ b/src/App/ComponentsDocumentation/components/Card/index.js @@ -21,20 +21,6 @@ const basename = process.env.basename; const brand = process.env.brand; const Overview = () => { - - - const [overviewCards, setOverviewCards] = useState(null); - - useEffect(() => { - const loadOverviewCards = async () => { - const constants = await import(`./${brand === "payex" ? "constantspayex" : "constants"}`); - setOverviewCards(constants.overviewCards); - }; - - loadOverviewCards(); - }, [brand]); - - return ( <>