diff --git a/src/composables/anims/useUIindexAnims.ts b/src/composables/anims/useUIindexAnims.ts index 437ed17..eea368f 100644 --- a/src/composables/anims/useUIindexAnims.ts +++ b/src/composables/anims/useUIindexAnims.ts @@ -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");