We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54f6985 commit fe39444Copy full SHA for fe39444
src/shared/containers/TopcoderHeader/index.jsx
@@ -34,7 +34,7 @@ const TopcoderHeader = ({ auth }) => {
34
35
// Only use the set sessionStorage value for navType on the /thrive paths, for now.
36
// Probably will change in the future...
37
- if (url.includes('/thrive') && sessionNavType && (sessionNavType === 'tool' || sessionNavType === 'marketing')) {
+ if (window.location.href.indexOf('/thrive') > -1 && sessionNavType && (sessionNavType === 'tool' || sessionNavType === 'marketing')) {
38
type = sessionNavType;
39
}
40
0 commit comments