Skip to content

Commit

Permalink
bug fix: safeguard threads before mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
bordalix authored and fiatjaf committed Nov 30, 2023
1 parent 0a811e2 commit 97d5707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NoComment.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export function NoComment({
{editor()}

<div>
{threads.map(thread => (
{threads?.map(thread => (
<Thread
key={thread.id}
thread={thread}
Expand Down

0 comments on commit 97d5707

Please sign in to comment.