Skip to content

Commit

Permalink
Fix for adding superfluous parameters when navigating between challen…
Browse files Browse the repository at this point in the history
…ges and gigs pages
  • Loading branch information
jmgasper committed May 9, 2023
1 parent 34fcf6f commit ae092d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const ChallengeTab = ({
if (typeof window === 'undefined') {
return;
}
history.push(`${config.GIGS_PAGES_PATH}${window.location.search || ''}`);
history.push(config.GIGS_PAGES_PATH);
};

const desktop = useMediaQuery({ minWidth: 1024 });
Expand Down

0 comments on commit ae092d1

Please sign in to comment.