Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Preserve line breaks in bounty submission description

Kiran K803d518df4f5
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-submission-details-sheet.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-submission-details-sheet.tsx
index bd56716b0e..3fd1eef355 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-submission-details-sheet.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-submission-details-sheet.tsx
@@ -202,7 +202,7 @@ function BountySubmissionDetailsSheetContent({
<h2 className="text-content-emphasis text-sm font-medium">
How did you complete this bounty?
</h2>
- <span className="mt-2 text-sm font-normal text-neutral-600">
+ <span className="mt-2 whitespace-pre-wrap text-sm font-normal text-neutral-600">
{submission.description}
</span>
</div>