Skip to content

Commit

Permalink
fix: updating URL when clicking on anchors inside accordion
Browse files Browse the repository at this point in the history
  • Loading branch information
MihaelaCretu11 committed Jul 10, 2023
1 parent 9456684 commit c2ecb89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/manage/Blocks/Accordion/View.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const View = (props) => {
searchParams.set(key, value);

history.push({
hash: location.hash,
pathname: location.pathname,
search: searchParams.toString(),
});
Expand Down

0 comments on commit c2ecb89

Please sign in to comment.