Skip to content

Commit

Permalink
fix props.refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
LimberHope committed Jun 12, 2024
1 parent 11310af commit 48c606c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/elements/CommentaryBox/CommentaryBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const CommentaryBox = (props: CommentaryBoxProps) => {
setComment("");
setError("");
setFiles([]);
props.refresh && props.refresh();
props.refresh?.();
setLoading(false);
}
});
Expand Down

0 comments on commit 48c606c

Please sign in to comment.