diff --git a/source/sites/mycompanyinfrance.fr/pages/Company/RegistrationPending.js b/source/sites/mycompanyinfrance.fr/pages/Company/RegistrationPending.js deleted file mode 100644 index 3250fb4bb..000000000 --- a/source/sites/mycompanyinfrance.fr/pages/Company/RegistrationPending.js +++ /dev/null @@ -1,72 +0,0 @@ -import React from 'react' -import { Link } from 'react-router-dom' -import siret from './siret.jpg' - -const DuringRegistration = () => ( - <> -
- If you have trouble completing your application, we can help. -
- -Once your business has been officially registered, you will receive:
-- The Siren number identifies your company while the Siret number identifies - each place of business operated by the same company. -
-- The APE code is used to classify your company’s main operations in the - French business nomenclature (« NAF »). It is also used to determine the - your applicable collective agreement as well as your occupational accident - rate. -
-- While your application is being processed, you can focus on the following - tasks:{' '} -
-- Finally, you can learn more about the social security system and simulate - the hiring of your first employee. - Simulate hiring costs -
- > -) - -export default DuringRegistration diff --git a/source/sites/mycompanyinfrance.fr/pages/Company/index.js b/source/sites/mycompanyinfrance.fr/pages/Company/index.js index 9a9c26132..31ff3f534 100644 --- a/source/sites/mycompanyinfrance.fr/pages/Company/index.js +++ b/source/sites/mycompanyinfrance.fr/pages/Company/index.js @@ -1,5 +1,5 @@ import React from 'react' -import { Route, Switch } from 'react-router' +import { Route, Switch, Redirect } from 'react-router' import { animated, Transition } from 'react-spring' import * as Animate from 'Ui/animate' import DefineDirectorStatus from './DirectorStatus' @@ -7,9 +7,9 @@ import Find from './Find' import Home from './Home' import Liability from './Liability' import MainStatus from './MainStatus' +import { connect } from "react-redux"; import MinorityDirector from './MinorityDirector' import Microenterprise from './Microenterprise' -import RegistrationPending from './RegistrationPending' import NumberOfAssociate from './NumberOfAssociate' import CreationChecklist from './CreationChecklist' @@ -23,17 +23,19 @@ const withRouteAnimation = style => AnimatedComponent => { return withRouteAnimation; } -const CreateMyCompany = ({ match, location }) => ( +const CreateMyCompany = ({ match, location, companyStatusChoice }) => ( <>