Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgasper committed Jun 1, 2024
1 parent a320438 commit 383d30d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default function Bucket({

let filteredChallenges = sortedChallenges;

if(!_.includes(roles, 'administrator')){
if (!_.includes(roles, 'administrator')) {
filteredChallenges = sortedChallenges.filter((ch) => {
if (ch.type === 'Task'
&& ch.task
Expand All @@ -95,7 +95,6 @@ export default function Bucket({
return ch;
});
}

// sortedChallenges.sort(Sort[activeSort].func);

// const bucketQuery = qs.stringify({
Expand Down Expand Up @@ -282,6 +281,7 @@ Bucket.defaultProps = {
openChallengesInNewTabs: false,
sort: null,
userId: '',
auth: {},
expandedTags: [],
expandTag: null,
activeBucket: '',
Expand Down

0 comments on commit 383d30d

Please sign in to comment.