From 9576309c69208687036aa0076da4bb780f087aad Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Mon, 30 Sep 2019 14:36:56 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Suppression=20de=20types=20non?= =?UTF-8?q?=20utilis=C3=A9s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/sites/mon-entreprise.fr/pages/Company/Find.js | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/source/sites/mon-entreprise.fr/pages/Company/Find.js b/source/sites/mon-entreprise.fr/pages/Company/Find.js index 1afca0c2f..368f859b3 100644 --- a/source/sites/mon-entreprise.fr/pages/Company/Find.js +++ b/source/sites/mon-entreprise.fr/pages/Company/Find.js @@ -13,19 +13,8 @@ import ReactSelect from 'react-select' import 'react-select/dist/react-select.css' import './Find.css' import { CompanyDetails as Company } from './YourCompany' -import type { SitePaths } from 'Components/utils/withSitePaths' -import type { TFunction } from 'react-i18next' -import type { RouterHistory } from 'react-router' -type State = { - input: ?{ [string]: string } -} type OwnProps = {} -type Props = { - history: RouterHistory, - t: TFunction, - sitePaths: SitePaths -} const isSIREN = (input: string) => input.match(/^ *([\d] *){9}$/) const isSIRET = (input: string) => input.match(/^ *([\d] *){14}$/) @@ -66,6 +55,7 @@ async function getOptions(input: string) { } return { options: etablissements } } catch (error) { + // eslint-disable-next-line no-console console.log( "Erreur dans la recherche d'entreprise à partir du SIREN / nom", error