Skip to content

Commit

Permalink
Update index.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
aliraza556 authored Dec 18, 2024
1 parent 3453cc9 commit 0032f8a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/App/SideBar/AiSummary/AiAnswer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const Wrapper = styled(Flex).attrs({
word-break: break-word;
`

const StyledAnswerMarkdown = styled(Text)`
const StyledAnswer = styled(Text)`
font-size: 14px;
font-weight: 400;
line-height: 19.6px;
Expand Down Expand Up @@ -96,9 +96,9 @@ export const AiAnswer = ({ answer, entities, handleLoaded, hasBeenRendered }: Pr

return (
<Wrapper onMouseMove={handleMouseMove}>
<StyledAnswerMarkdown>
<StyledAnswer>
{entities?.length ? responseTextDisplay : <StyledMarkdown>{displayedText}</StyledMarkdown>}
</StyledAnswerMarkdown>
</StyledAnswer>
</Wrapper>
)
}

0 comments on commit 0032f8a

Please sign in to comment.