Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandru Medesan authored and Alexandru Medesan committed May 16, 2023
1 parent 53ec046 commit b28e8c5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/EuropaAnalyticsExtra.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import React, { useEffect } from 'react';
import {
loadEuropaAnalyticsScript,
} from './helpers';
import { loadEuropaAnalyticsScript } from './helpers';

loadEuropaAnalyticsScript();
/**
Expand All @@ -13,7 +11,7 @@ export const EuropaAnalyticsAppExtra = (props) => {
const { pathname } = props;

useEffect(() => {
if(window.$wt) $wt.trackPageView();
if (window.$wt) $wt.trackPageView();
}, [pathname]);
return <></>;
};
Expand Down

0 comments on commit b28e8c5

Please sign in to comment.