We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a10c9e commit 752d05bCopy full SHA for 752d05b
1 file changed
src/app.tsx
@@ -36,7 +36,7 @@ export default function App() {
36
37
useEffect(() => {
38
if (href && new URLSearchParams(location.search).get("href") !== href)
39
- history.replaceState(null, "", "?href=" + href);
+ history.pushState(null, "", "?href=" + href);
40
else history.replaceState(null, "", null);
41
}, [href]);
42
0 commit comments