Skip to content

Commit

Permalink
chore(router): fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
davidon-top committed Nov 11, 2024
1 parent 15d9bf9 commit 6efe171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sycamore-router/src/router.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ impl Integration for HistoryIntegration {
.push_state_with_url(&JsValue::UNDEFINED, "", Some(&a_pathname))
.unwrap_throw();
window().scroll_to_with_x_and_y(0.0, 0.0);

Check warning on line 98 in packages/sycamore-router/src/router.rs

View check run for this annotation

Codecov / codecov/patch

packages/sycamore-router/src/router.rs#L92-L98

Added lines #L92 - L98 were not covered by tests
let pathname = pathname.get().unwrap_throw();
let path = a_pathname
.strip_prefix(&base_pathname())
Expand Down

0 comments on commit 6efe171

Please sign in to comment.