We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1010dec commit 970c241Copy full SHA for 970c241
packages/homepage/src/utils/useAccordion.js
@@ -20,7 +20,7 @@ export const useAccordion = () => {
20
}
21
const toggleClasses = e => {
22
if (e.target.localName !== 'h2') return;
23
- history.pushState({}, '', 'faq/#' + e.target.id);
+ history.replaceState({}, '', '#' + e.target.id);
24
history.scrollRestoration = 'manual';
25
const parent = e.target.parentNode;
26
0 commit comments