score:0

function App() {
  return (
    <Router>
        <Switch>
            <Route path="/Recpayfrm">
                <MyForm/>
            </Route>
            <Route path="/">
                <HomeComponent/>
            </Route>
        </Switch>
    </Router>
  )
}

Related Query

More Query from same tag