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 bfba2da commit 5af7d25Copy full SHA for 5af7d25
packages/react-router/lib/dom/lib.tsx
@@ -2102,9 +2102,11 @@ export function useScrollRestoration({
2102
}
2103
} catch {
2104
warning(
2105
- false,
2106
- `"${location.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`
2107
- );
+ false,
+ `"${location.hash.slice(
+ 1
2108
+ )}" is not a decodable element ID. The view will not scroll to it.`
2109
+ );
2110
2111
2112
// Don't reset if this navigation opted out
0 commit comments