Skip to content

Commit

Permalink
Correct const showEditForm
Browse files Browse the repository at this point in the history
  • Loading branch information
SandraBergstrom committed Jun 28, 2023
1 parent c9f391a commit 269aba5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/comments/Comment.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Comment = (props) => {
setComments,
} = props;

const [setShowEditForm, setShowEditForm] = useState(false);
const [showEditForm, setShowEditForm] = useState(false);

const currentUser = useCurrentUser();
const is_owner = currentUser?.username === owner;
Expand Down

0 comments on commit 269aba5

Please sign in to comment.