Skip to content

Commit 9cbeb21

Browse files
Fix path to pass URL + Params to Navigation Compoment
topcoder-platform/navigation-component#168
1 parent b40d371 commit 9cbeb21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"moment-timezone": "^0.5.21",
7979
"money": "^0.2.0",
8080
"morgan": "^1.9.0",
81-
"navigation-component": "git+https://github.com/topcoder-platform/navigation-component.git#develop",
81+
"navigation-component": "git+https://github.com/topcoder-platform/navigation-component.git#nav-hotfix-thrive-link",
8282
"node-forge": "^0.7.5",
8383
"nuka-carousel": "^4.5.3",
8484
"postcss": "^6.0.23",

src/shared/components/Header/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ const Header = ({
4949
}
5050

5151
useEffect(() => {
52-
setPath(window.location.pathname);
52+
setPath(window.location.pathname + window.location.search);
5353
}, []);
5454

5555
/*

0 commit comments

Comments
 (0)