Skip to content
Snippets Groups Projects
Commit 4bffdfeb authored by sandcha's avatar sandcha
Browse files

Fix linting

parent 4ae8e836
No related branches found
No related tags found
1 merge request!106Initialize matomo on home IR and dotations pages
......@@ -16,7 +16,7 @@ export class Matomo extends PureComponent {
_paq.push(['setSiteId', '1']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.src='//cdn.matomo.cloud/leximpact.matomo.cloud/matomo.js'; s.parentNode.insertBefore(g,s);
})();`
})();`,
}}
type="text/javascript" />
);
......
......@@ -6,7 +6,7 @@ import { Fragment, PureComponent } from "react";
// eslint-disable-next-line no-unused-vars
import { connect, ConnectedProps } from "react-redux";
import { SimulationPage, Matomo } from "../components/common";
import { Matomo, SimulationPage } from "../components/common";
import {
Articles, DsrHelpWindow,
DsuHelpWindow, MontantsDsrHelpWindow, PotentielFinancierHelpWindow, Results, TrendHelpWindow,
......
......@@ -8,7 +8,7 @@ import { Fragment, PureComponent } from "react";
// eslint-disable-next-line no-unused-vars
import { connect, ConnectedProps } from "react-redux";
import { SimulationPage, Matomo } from "../components/common";
import { Matomo, SimulationPage } from "../components/common";
import { Articles, CartesImpact as ImpactCards } from "../components/ir";
import PopinManager from "../components/PopinManager";
import withRoot from "../lib/withRoot";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment