Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Replace state regardless of if item exists
regalijan committed Oct 30, 2023
1 parent 9bce86e commit 19fa40a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/routes/mod-queue.tsx
@@ -186,6 +186,8 @@ export default function () {
["appeal", "gma", "inactivity", "report"].includes(itemType) &&
jump_item_to_top
) {
history.replaceState(null, "", location.origin + location.pathname);

const specifiedItem = entryData.find((e) => e.id === itemId);

if (specifiedItem) {

0 comments on commit 19fa40a

Please sign in to comment.