importReactfrom"react";importstylesfrom"./App.module.css";import{BrowserRouter,Route,Switch}from"react-router-dom";// import { TypographyProps } from "antd/lib/typography/Typography";import{HomePage,SignInPage,Register,Deatil}from"./pages";functionApp(){return(<divclassName={styles.App}><BrowserRouter><Switch><Routeexactpath="/"component={HomePage}/><Routepath="/signin"component={SignInPage}/><Routepath="/register"component={Register}/><Routepath="/detail/:tourisRouteId"component={Deatil}/><Routerender={()=><h1>404 NOT FOUND</h1>}/></Switch></BrowserRouter></div>);}exportdefaultApp;