Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 10437 | Rev 10452 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |

import React from 'react'
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom'
import MainView from '../views/MainView'

const InterviewRoutes = ({ backendVars }) => {

    return (
        <Router>
            <Switch>
                <Route
                    exact path='/recruitment-and-selection/interview/form'
                    component={() => <MainView backendVars={backendVars} />}
                />
                <Route
                    path='/recruitment-and-selection/interview/form/:id/file'
                    component={() => <h1>Evaluación</h1>}
                />
            </Switch>
        </Router>
    )
}
export default InterviewRoutes