Skip to content

Commit

Permalink
CHE-130 Linting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brok3turtl3 committed Jun 13, 2024
1 parent 2c504c3 commit db34fe9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ const ThreadDetail = ({ forumId, threadId }: ThreadDetailProps) => {
}
};

if (pending) return null;
if (loading) return <div>Loading...</div>;
if (error) return <div>Error: {error}</div>;
if (!thread) return <div>Thread not found.</div>;
Expand Down

0 comments on commit db34fe9

Please sign in to comment.