import React from "react" ; import { Route } from "react-router-dom" ; import Home from "./modules/home" ; import Samples from "./modules/samples" ; export default function Routes ( ) { return ( < > < Route exact path = "/" component = { Home } / > { } < Route path = "/samples" > < Samples /> < /Route> { } { } < />); }