Use history.replaceState() instead of history.pushState() and you're all good.
Thanks. It makes sense. I'll switch.
Thanks. It makes sense. I'll switch.