Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove duplicate replaceState
  • Loading branch information
regalijan committed Oct 30, 2023
1 parent 0c4c6e9 commit 60d1473
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/routes/mod-queue.tsx
Expand Up @@ -193,8 +193,6 @@ export default function () {
if (specifiedItem) {
entryData = entryData.filter((entry) => entry.id !== specifiedItem.id);
entryData.unshift(specifiedItem);

history.replaceState(null, "", location.origin + location.pathname);
} else {
const itemReq = await fetch(`/api/mod-queue/${itemType}/${itemId}`);

Expand Down

0 comments on commit 60d1473

Please sign in to comment.