homeflowjs 1.0.71 → 1.0.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -126,7 +126,7 @@ const useScrollTo = (options) => {
|
|
126
126
|
scrollAbortControllerRef.current.abort(); // Stop the scroll
|
127
127
|
scrollAbortControllerRef.current = null; // Reset the controller
|
128
128
|
scrollToTarget({ ...currentTarget }); // Fire the scrollToTarget function again
|
129
|
-
if (currentTarget?.hash) window.location.hash = currentTarget.
|
129
|
+
if (currentTarget?.hash) window.location.hash = currentTarget.hash; // Update the URL hash
|
130
130
|
}
|
131
131
|
}
|
132
132
|
});
|