From 03e5704a6e6ab9a004a9a05bfe7d0418fd400e34 Mon Sep 17 00:00:00 2001 From: Purp1e <47248616+Purple-CSGO@users.noreply.github.com> Date: Sun, 23 Mar 2025 16:59:02 +0800 Subject: [PATCH] [fix] remove inappropiate animation --- src/components/cstb/LaunchOption.tsx | 2 +- src/components/window/Card.tsx | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/components/cstb/LaunchOption.tsx b/src/components/cstb/LaunchOption.tsx index a419e51..d62b378 100644 --- a/src/components/cstb/LaunchOption.tsx +++ b/src/components/cstb/LaunchOption.tsx @@ -22,7 +22,7 @@ const LaunchOption = () => { {tool.state.launchOptions.map((option, index) => ( tool.setLaunchIndex(index)}> - {index + 1} + {option.name || index + 1} ))} tool.addLaunchOption({ option: "", name: "" })}> diff --git a/src/components/window/Card.tsx b/src/components/window/Card.tsx index 1dd87fa..da170d5 100644 --- a/src/components/window/Card.tsx +++ b/src/components/window/Card.tsx @@ -1,5 +1,4 @@ import { cn } from "@heroui/react" -import { motion } from "framer-motion" import type { ReactNode } from "react" interface CardProps { @@ -11,11 +10,7 @@ interface CardProps { const Card = ({ children, className, ...props }: CardProps) => { return ( - { {...props} > {children} - + ) }