Prevent navigating to item on re-renders

This commit is contained in:
john.bednarczyk 2024-02-03 11:48:21 -06:00
parent a4fcec69f4
commit ecfcf2ef63
1 changed files with 3 additions and 0 deletions

View File

@ -202,6 +202,9 @@ class CollectionOverviews extends Component {
align: 'start'
});
}
// Replacing the history to prevent navigating back to this item on re-renders
window.history.replaceState({}, '')
};
//