rewrite /src/App.js
import React, { Component } from "react";
class App extends Component {
render() {
return <h1>Hi!</h1>;
}
}
export default App;
rewrite /src/App.js
import React, { Component } from "react";
class App extends Component {
render() {
return <h1>Hi!</h1>;
}
}
export default App;
rewrite src/App.js
// frontend/src/App.js
import React, { Component } from "react";
import { BrowserRouter, Route, Switch } from "react-router-dom";
import Home from "./components/Home";
class App extends Component {
render() {
return (
<div>
<BrowserRouter>
<Switch>
<Route exact path="/" component={Home} />
</Switch>
</BrowserRouter>
</div>
);
}
}
export default App;
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us