Skip to content

Commit

Permalink
updated package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Heck committed Aug 1, 2023
1 parent a513f9e commit b208e19
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 10 deletions.
57 changes: 47 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
},
"homepage": "https://github.com/Fitness-Tracker-WCRI59/fitness-tracker#readme",
"dependencies": {
"cookie-parser": "^1.4.6",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"mongodb": "^5.7.0",
"mongoose": "^7.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.14.2"
Expand Down
19 changes: 19 additions & 0 deletions src/components/Router.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import React from 'react';
import { Route, Routes, useLocation } from 'react-router-dom';
import App from './App';

const Router = () => {
return (
<div>
<Routes>
<Route exact path='/' element={<App />} />
{/* path='/login' */}
</ Routes>
</div>
)
}

export default Router;

// useNavigate();

0 comments on commit b208e19

Please sign in to comment.