Skip to content

Commit fe39444

Browse files
committed
Fix reference error
1 parent 54f6985 commit fe39444

File tree

1 file changed

+1
-1
lines changed
  • src/shared/containers/TopcoderHeader

1 file changed

+1
-1
lines changed

src/shared/containers/TopcoderHeader/index.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const TopcoderHeader = ({ auth }) => {
3434

3535
// Only use the set sessionStorage value for navType on the /thrive paths, for now.
3636
// Probably will change in the future...
37-
if (url.includes('/thrive') && sessionNavType && (sessionNavType === 'tool' || sessionNavType === 'marketing')) {
37+
if (window.location.href.indexOf('/thrive') > -1 && sessionNavType && (sessionNavType === 'tool' || sessionNavType === 'marketing')) {
3838
type = sessionNavType;
3939
}
4040

0 commit comments

Comments
 (0)