formatting fix

This commit is contained in:
thomas.ekstrand 2024-02-24 09:36:17 -06:00
parent e24ea2283f
commit 12281a8d02

View file

@ -63,7 +63,13 @@ const updateUrlWithNearestHeadingId = (targetElementUuid: string): void => {
// If they're all collapsed, remove the hash
if (!targetElement) {
history.pushState(null, null, window.location.origin + window.location.pathname + window.location.search);
history.pushState(
null,
null,
window.location.origin +
window.location.pathname +
window.location.search,
);
}
};