Skip to content

Commit 0646827

Browse files
committed
Render multi line description in review page
1 parent 6f6b73a commit 0646827

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/routes/dashboard/admin/review/[id]/+page.svelte

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,12 @@
7373

7474
<div>
7575
<h2 class="text-lg font-bold">Description</h2>
76-
<p>{data.project.project.description}</p>
76+
<p>
77+
{#each data.project.project.description?.split('\n') as descriptionSection}
78+
{descriptionSection}
79+
<br />
80+
{/each}
81+
</p>
7782
</div>
7883
</div>
7984

0 commit comments

Comments
 (0)