Remove duplicate replaceState
This commit is contained in:
parent
0c4c6e9f8c
commit
60d1473e79
@ -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}`);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user