Skip to content

Commit 5af7d25

Browse files
committed
chore: format
1 parent bfba2da commit 5af7d25

File tree

1 file changed

+5
-3
lines changed
  • packages/react-router/lib/dom

1 file changed

+5
-3
lines changed

packages/react-router/lib/dom/lib.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2102,9 +2102,11 @@ export function useScrollRestoration({
21022102
}
21032103
} catch {
21042104
warning(
2105-
false,
2106-
`"${location.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`
2107-
);
2105+
false,
2106+
`"${location.hash.slice(
2107+
1
2108+
)}" is not a decodable element ID. The view will not scroll to it.`
2109+
);
21082110
}
21092111

21102112
// Don't reset if this navigation opted out

0 commit comments

Comments
 (0)