Skip to content

Commit

Permalink
chore(reports): fixing code smells
Browse files Browse the repository at this point in the history
  • Loading branch information
rhahao committed Dec 14, 2024
1 parent 20de0c0 commit 37125b7
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,7 @@ const useMonthItem = ({ month, person }: MonthItemProps) => {

if (!branchReport) return true;

if (branchReport.report_data.submitted) {
return true;
}

if (!branchReport.report_data.submitted) {
return true;
}
return false;
return true;
}, [isInactive, month, first_report, branchReport]);

const report_locked = useMemo(() => {
Expand Down

0 comments on commit 37125b7

Please sign in to comment.