Skip to content

Commit

Permalink
Merge pull request #31 from agiledev-students-fall2023/revert-27-joyc7
Browse files Browse the repository at this point in the history
Revert "Implemented the Friends Page"
  • Loading branch information
cindyliang01 authored Oct 29, 2023
2 parents 1ec9add + 4fb4285 commit 2c93376
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 219 deletions.
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.

0 comments on commit 2c93376

Please sign in to comment.