@forwardimpact/pathway 0.17.1 → 0.17.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardimpact/pathway",
3
- "version": "0.17.1",
3
+ "version": "0.17.2",
4
4
  "description": "Career progression web app and CLI for exploring roles and generating agent teams",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -96,6 +96,7 @@ export function createRouter(options = {}) {
96
96
  const path = fullPath.split("?")[0];
97
97
  const matched = matchRoute(path);
98
98
  if (matched) {
99
+ window.scrollTo(0, 0);
99
100
  matched.handler(matched.params);
100
101
  } else {
101
102
  onNotFound(path);