diff --git a/app/components/Code.tsx b/app/components/Code.tsx index 1606610..4fbb2b4 100644 --- a/app/components/Code.tsx +++ b/app/components/Code.tsx @@ -1,4 +1,4 @@ -import { useState, type HTMLProps } from 'react'; +import { useState, HTMLProps } from 'react'; import { CopyIcon, CheckIcon } from '@primer/octicons-react'; import { cn } from '~/utils/cn'; import { toast } from '~/components/Toaster'; @@ -20,7 +20,7 @@ export default function Code(props: Props) { > {props.children} - {props.isCopyable && props.children ? ( + {props.isCopyable ? (