Skip to content

Commit

Permalink
React-router-dom updated
Browse files Browse the repository at this point in the history
  • Loading branch information
wethmiranasinghe committed Jun 13, 2024
1 parent 7fe2d43 commit af3a335
Show file tree
Hide file tree
Showing 153 changed files with 43 additions and 158,149 deletions.
41 changes: 40 additions & 1 deletion front-end/package-lock.json

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

3 changes: 2 additions & 1 deletion front-end/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react-dom": "^18.2.0",
"react-router-dom": "^6.23.1"
},
"devDependencies": {
"@types/react": "^18.2.66",
Expand Down
2 changes: 1 addition & 1 deletion front-end/src/Header.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Link} from 'react-router-dom'; // //Add page routing using router dom
import {Link, Outlet} from 'react-router-dom'; // //Add page routing using router dom

import cylcleLogo from './assets/CYCLE-logo.png';
import erasmusLogo from './assets/erasmus-plus-logo.jpg';
Expand Down
16 changes: 0 additions & 16 deletions node_modules/.bin/loose-envify

This file was deleted.

17 changes: 0 additions & 17 deletions node_modules/.bin/loose-envify.cmd

This file was deleted.

28 changes: 0 additions & 28 deletions node_modules/.bin/loose-envify.ps1

This file was deleted.

97 changes: 0 additions & 97 deletions node_modules/.package-lock.json

This file was deleted.

Loading

0 comments on commit af3a335

Please sign in to comment.