From 8864952371fc575e44c3ea466aef7668881e23d9 Mon Sep 17 00:00:00 2001 From: riqo Date: Sat, 31 Oct 2020 17:10:39 -0500 Subject: [PATCH] --amend --- src/composables/anims/useUIindexAnims.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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"); -- 2.43.0