diff --git a/packages/nextjs/app/bounties/[id]/page.tsx b/packages/nextjs/app/bounties/[id]/page.tsx index b012ced..bb04d17 100644 --- a/packages/nextjs/app/bounties/[id]/page.tsx +++ b/packages/nextjs/app/bounties/[id]/page.tsx @@ -4,6 +4,8 @@ import { useEffect, useMemo, useState } from "react"; import { useParams } from "next/navigation"; import { getJWT } from "@lighthouse-web3/kavach"; import lighthouse from "@lighthouse-web3/sdk"; +import ReactMarkdown from "react-markdown"; +import remarkGfm from "remark-gfm"; import { formatEther, parseAbiItem, parseEther } from "viem"; import { useAccount, @@ -14,6 +16,7 @@ import { useWriteContract, } from "wagmi"; import { BugAntIcon } from "@heroicons/react/24/outline"; +import MDEditor from "~~/components/MDEditor"; import { Address } from "~~/components/scaffold-eth"; import { BountyStatus, bountyABI } from "~~/contracts/BountyABI"; import deployedContracts from "~~/contracts/deployedContracts"; @@ -264,7 +267,9 @@ export default function BountyDetailsPage() {

{metadata.title}

-

{metadata.description}

+
+ {metadata.description} +
@@ -388,19 +393,7 @@ export default function BountyDetailsPage() { value={title} onChange={e => setTitle(e.target.value)} /> -
-