diff --git a/app/ui/lib/Message.tsx b/app/ui/lib/Message.tsx index e3ebe999b..fd4ad7094 100644 --- a/app/ui/lib/Message.tsx +++ b/app/ui/lib/Message.tsx @@ -7,14 +7,8 @@ */ import cn from 'classnames' import type { ReactElement, ReactNode } from 'react' -import { Link, type To } from 'react-router' -import { - Error12Icon, - OpenLink12Icon, - Success12Icon, - Warning12Icon, -} from '@oxide/design-system/icons/react' +import { Error12Icon, Success12Icon, Warning12Icon } from '@oxide/design-system/icons/react' type Variant = 'success' | 'error' | 'notice' | 'info' @@ -23,10 +17,6 @@ export interface MessageProps { content: ReactNode className?: string variant?: Variant - cta?: { - text: string - link: To - } showIcon?: boolean } @@ -50,7 +40,6 @@ export const Message = ({ content, className, variant = 'info', - cta, showIcon = true, }: MessageProps) => { return ( @@ -73,16 +62,6 @@ export const Message = ({