Skip to content

Commit

Permalink
check use effect
Browse files Browse the repository at this point in the history
  • Loading branch information
thienlnam committed May 15, 2023
1 parent 683fe77 commit 41351a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TaskHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function TaskHeader(props) {

useEffect(() => {
TaskUtils.setTaskReport(props.report);
}, [props]);
}, [props.report]);

return (
<View style={styles.borderBottom}>
Expand Down

0 comments on commit 41351a0

Please sign in to comment.