import React , { FC } from 'react' ; import { Redirect } from 'react-router-dom' ; import { MlRoute } from '../../router' ; export const newJobRouteFactory = ( ) : MlRoute => ( { path : '/jobs/new_job' , render : ( ) => < Page />, breadcrumbs : [ ] , } ) ; const Page = ( ) => { return < Redirect to = "/jobs/new_job/step/index_or_search" / > ; } ;