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} - + ) }