Skip to content

Commit

Permalink
feat: more less
Browse files Browse the repository at this point in the history
  • Loading branch information
gouravmpk committed Feb 7, 2024
1 parent 2e7f7f0 commit 72ada5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/App/SideBar/Transcript/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const Transcript = ({ stateless, node }: TranscriptProps) => {
</Header>
<Box>
{showFullTranscript ? fullTranscript : `${node?.text?.substring(0, 100)}...`}
<MoreText onClick={handleMoreClick}>{showFullTranscript ? '...less' : '...more'}</MoreText>
<MoreText onClick={handleMoreClick}>{showFullTranscript ? 'less' : 'more'}</MoreText>
</Box>
</Flex>
)
Expand Down

0 comments on commit 72ada5e

Please sign in to comment.