Skip to content

Commit

Permalink
remove undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
koji committed May 31, 2024
1 parent b1ec263 commit 7d6f3f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opentrons-ai-client/src/molecules/ChatDisplay/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ export function ChatDisplay({ chat, chatId }: ChatDisplayProps): JSX.Element {
h2: HeaderText,
li: ListItemText,
p: ParagraphText,
a: isUser ? undefined : ExternalLink,
code: isUser ? undefined : CodeText,
a: isUser ? ParagraphText : ExternalLink,
code: isUser ? ParagraphText : CodeText,
}}
>
{reply}
Expand Down

0 comments on commit 7d6f3f2

Please sign in to comment.