File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/apps/review/src/pages/reviews/components Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import { FC } from 'react'
33import { BaseModal } from '~/libs/ui'
44import { AiWorkflow } from '~/apps/review/src/lib/hooks'
55import { IconExternalLink } from '~/apps/review/src/lib/assets/icons'
6+ import { MarkdownReview } from '~/apps/review/src/lib/components/MarkdownReview'
67
78import AiModelIcon from '../AiModelIcon'
89
@@ -35,7 +36,7 @@ const AiModelModal: FC<AiModelModalProps> = props => (
3536 </ div >
3637
3738 < p className = { styles . modelDescription } >
38- { props . model . description }
39+ < MarkdownReview value = { props . model . description } />
3940 </ p >
4041 </ div >
4142 </ BaseModal >
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import { ReviewsContextModel } from '~/apps/review/src/lib/models'
55import { useRolePermissions , UseRolePermissionsResult } from '~/apps/review/src/lib/hooks'
66import { ArrowCircleDownIcon , ArrowCircleUpIcon } from '@heroicons/react/outline'
77
8+ import { MarkdownReview } from '../../../../lib/components/MarkdownReview'
89import { IconClock , IconFile , IconPremium } from '../../../../lib/assets/icons'
910import { AiModelModal } from '../AiModelModal'
1011import { useReviewsContext } from '../../ReviewsContext'
@@ -105,7 +106,7 @@ const ScorecardHeader: FC = () => {
105106 </ div >
106107 </ div >
107108 < p className = { styles . workflowDescription } >
108- { workflow . description }
109+ < MarkdownReview value = { workflow . description } />
109110 </ p >
110111 { /* <div className={styles.workflowFileLink}>
111112 <a href={workflow.defUrl}>
You can’t perform that action at this time.
0 commit comments