Skip to content

Commit

Permalink
updt: follow ES6 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhinav-Chdhary committed Jul 18, 2024
1 parent 36503d9 commit 4b5c84b
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ function ChallengeGrid({ challenges, linkPrefix, links }: Props) {
);

const searchFilters = {
searchInput: searchInput,
optionSelected: optionSelected,
selectedDifficulties: selectedDifficulties,
isSegmentBtn1: isSegmentBtn1,
selectedChallengesByTags: selectedChallengesByTags,
newChallenge: newChallenge,
searchInput,
optionSelected,
selectedDifficulties,
isSegmentBtn1,
selectedChallengesByTags,
newChallenge,
};

sessionStorage.setItem('searchFilters', JSON.stringify(searchFilters));
Expand Down

0 comments on commit 4b5c84b

Please sign in to comment.