This commit is contained in:
riqo 2020-10-31 17:10:39 -05:00
commit 8864952371

View file

@ -22,10 +22,7 @@ export default function useUIindexAnims() {
} }
}); });
function getSVGElHeight(el: SVGGElement) { const getSVGElHeight = (el: SVGGElement) => el.getBBox().height;
const cardHeight = el.getBBox().height;
return cardHeight;
}
function calculateAllCardsHeight() { function calculateAllCardsHeight() {
const cards = document.querySelectorAll(".test"); const cards = document.querySelectorAll(".test");