Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiggr committed Nov 26, 2021
1 parent fd89852 commit 1d2c554
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/customizations/volto/components/theme/Header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import HomepageSlider from '@eeacms/volto-forests-theme/components/theme/Header/
import MobileSearchWidget from '@eeacms/volto-forests-theme/components/theme/MobileSearchWidget/MobileSearchWidget';
import Sticky from 'react-stickynode';
import HeaderBackground from './header-bg.png';
import axios from 'axios';
import {
getBasePath,
getNavigationByParent,
Expand Down Expand Up @@ -88,6 +87,7 @@ const Header = (props) => {
if (props.leadCaption) setLeadCaptionText(props.leadCaption);
}
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [
props.parentItems,
props.parentImg,
Expand All @@ -105,7 +105,7 @@ const Header = (props) => {

React.useEffect(() => {
if (inheritLeadingData || leadNavigation) {
const parentUrl = parentData['@id'];
//const parentUrl = parentData['@id'];
// getParentData(parentUrl);

if (!inheritLeadingData) {
Expand Down

0 comments on commit 1d2c554

Please sign in to comment.