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 cardHeight = el.getBBox().height;
return cardHeight;
}
const getSVGElHeight = (el: SVGGElement) => el.getBBox().height;
function calculateAllCardsHeight() {
const cards = document.querySelectorAll(".test");