Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Implemented the Friends Page" #31

Merged
merged 1 commit into from
Oct 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions front-end/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"@testing-library/user-event": "^13.5.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.17.0",
"react-scripts": "^5.0.1",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.4"
},
"scripts": {
Expand Down
37 changes: 17 additions & 20 deletions front-end/src/App.js
Original file line number Diff line number Diff line change
@@ -1,27 +1,24 @@
import React from 'react';
import logo from './logo.svg';
import './App.css';
import { BrowserRouter as Router, Route, Link, Routes } from 'react-router-dom';
import FriendsPage from './components/FriendsPage';


function App() {
return (
<Router>
<div>
<nav>
<ul>
<li>
<Link to="/friends">Friends</Link>
</li>
</ul>
</nav>

<Routes>
{" "}
<Route path="/friends" element={<FriendsPage />} />
</Routes>
</div>
</Router>
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<p>
Edit <code>src/App.js</code> and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
</header>
</div>
);
}

Expand Down
111 changes: 0 additions & 111 deletions front-end/src/components/FriendsPage.css

This file was deleted.

86 changes: 0 additions & 86 deletions front-end/src/components/FriendsPage.jsx

This file was deleted.