From 830fa9b3c19f7437518b824db7291cb09b24a317 Mon Sep 17 00:00:00 2001 From: PrettyCoffee Date: Wed, 17 Apr 2024 00:43:25 +0200 Subject: [PATCH] refactor: Remove dead code --- src/components/Loading.tsx | 38 +------------------------------------- 1 file changed, 1 insertion(+), 37 deletions(-) diff --git a/src/components/Loading.tsx b/src/components/Loading.tsx index c7ef01c..a12bde1 100644 --- a/src/components/Loading.tsx +++ b/src/components/Loading.tsx @@ -1,45 +1,9 @@ import { useEffect, useState } from "react" -import { m } from "framer-motion" import { css, keyframes } from "goober" -import { textColor } from "~/utils/colors" import { cn } from "~/utils/utils" -const draw = { - hidden: { pathLength: 0, opacity: 0 }, - visible: { - pathLength: 1, - opacity: 1, - transition: { - pathLength: { type: "spring", duration: 1.5, bounce: 0 }, - opacity: { duration: 0.01 }, - }, - }, -} - -export const Loading2 = () => ( - - - -) - const strokeOffset = keyframes` 0% { stroke-dasharray: 0 150; stroke-dashoffset: 0; } 47.5% { stroke-dasharray: 42 150; stroke-dashoffset: -16; } @@ -63,7 +27,7 @@ export const Loading = () => {