Skip to content

Commit

Permalink
fix task unlock functionality in locked task widget (#2408)
Browse files Browse the repository at this point in the history
  • Loading branch information
CollinBeczak authored Aug 13, 2024
1 parent 7c3fb43 commit e170d37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/LockedTasks/LockedTasksWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const LockedTasks = (props) => {

useEffect(() => {
fetchLockedTasks();
}, [props.user]);
}, []);

const LockedTasksList = () => {
const sortedLockedTasks = [...lockedTasks].sort((a, b) => new Date(a.startedAt) - new Date(b.startedAt));
Expand Down

0 comments on commit e170d37

Please sign in to comment.