]> Repos - mime-chat/commitdiff
--amend
authorriqo <hernandeze2@xavier.edu>
Sat, 31 Oct 2020 22:10:39 +0000 (17:10 -0500)
committerriqo <hernandeze2@xavier.edu>
Sat, 31 Oct 2020 22:10:39 +0000 (17:10 -0500)
src/composables/anims/useUIindexAnims.ts

index 437ed170eb51a7e81bba2e12429d6ee351c36e50..eea368fc01ebf8614b4777cba8844c14ccbb05bc 100644 (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");