Skip to content

Commit 101c4c4

Browse files
committed
Add navi test debug
1 parent 8174d37 commit 101c4c4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/shared/utils/contentful.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,13 @@ export function isActive(baseUrl, item, caller) {
6363
return false;
6464
}
6565

66+
// WIP need to test Contenful navigation under real domain
67+
// should not land to production
68+
// eslint-disable-next-line no-console
69+
console.log('isActiveTEST', {
70+
baseUrl, item, caller, to, location,
71+
});
72+
6673
// handles the special case when url === `/`
6774
if (caller === 'menuItem'
6875
&& to === baseUrl

0 commit comments

Comments
 (0)