Skip to content

Commit

Permalink
Merge pull request #76 from CudoVentures/CUDOS-1960-Markdown-support-…
Browse files Browse the repository at this point in the history
…for-all-proposals-view

Markdown-support-for-all-proposals-view
  • Loading branch information
SpaghettiOverload authored Dec 8, 2022
2 parents 1359f3c + 4e1b634 commit be7bc61
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/components/single_proposal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ import React from 'react';
import classnames from 'classnames';
import useTranslation from 'next-translate/useTranslation';
import { Typography } from '@material-ui/core';
import { Tag } from '@components';
import {
Markdown,
Tag,
} from '@components';
import { useStyles } from './styles';
import { getStatusInfo } from './utils';

Expand Down Expand Up @@ -47,9 +50,7 @@ const SingleProposal: React.FC<{
)}
</div>
{!!description && (
<Typography variant="body2" className={classnames(classes.content)}>
{description}
</Typography>
<Markdown markdown={description} />
)}
</div>
{/* ================= */}
Expand Down

0 comments on commit be7bc61

Please sign in to comment.