Skip to content

Commit

Permalink
fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaroslav65 committed Dec 25, 2024
1 parent bb515c1 commit 8215e9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PostForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const PostForm: React.FC<Props> = ({ onSubmit }) => {
return;
}

if (!title || !userId) {
if (!userId) {
return;
}

Expand Down

0 comments on commit 8215e9d

Please sign in to comment.