Skip to content

Commit

Permalink
CHE-65 Quick typing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brok3turtl3 committed Apr 21, 2024
1 parent 37bd4b8 commit 9b07314
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ const ThreadsDisplay: React.FC<ThreadsDisplayProps> = ({
{creatingThread ? "Cancel" : "Create New Thread"}
</button>
)}
{creatingThread && (
{creatingThread && forumId ? (
<CreateThread forumId={forumId} onClose={toggleCreateThread} />
)}
) : null}

<ul>
{threads.map((thread) => (
Expand Down

0 comments on commit 9b07314

Please sign in to comment.