Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bandana147 committed Sep 26, 2024
1 parent 62e40ce commit 5af4b1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libs/navigation/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export default async function loadBlock(configs, customLib) {
const branch = new URLSearchParams(window.location.search).get('navbranch');
const miloLibs = branch ? `https://${branch}--milo--adobecom.hlx.page` : customLib || envMap[env];
if (!header && !footer) {
// eslint-disable-next-line no-console
console.error('Global navigation Error: header and footer configurations are missing.');
return;
}
Expand Down

0 comments on commit 5af4b1f

Please sign in to comment.