Skip to content

Commit

Permalink
Fix pre issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent550102 committed Mar 7, 2024
1 parent b0c6245 commit 47a2a32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ export function useDetail() {
</h1>
{Array.isArray(activity?.description) &&
activity.description.map((desc, index) => (
<pre key={index} className={text({ level: 1 })}>
{desc}
</pre>
<p key={index} className={text({ level: 1 })}>
{desc.replace(" ", "\u00a0")}
</p>
))}
{activity?.link && (
<Link
Expand Down

0 comments on commit 47a2a32

Please sign in to comment.