Skip to content

Commit

Permalink
Merge pull request #92 from NashTech-Labs/feature/Added-Dashboard
Browse files Browse the repository at this point in the history
Added Dashboard Page
  • Loading branch information
ankit-mogha authored Feb 9, 2024
2 parents ecb6aa0 + 1d0a6d2 commit 9854f22
Show file tree
Hide file tree
Showing 11 changed files with 255 additions and 80 deletions.
207 changes: 127 additions & 80 deletions car-ui-react/package-lock.json

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

1 change: 1 addition & 0 deletions car-ui-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"react-dom": "^18.2.0",
"react-router-dom": "^6.22.0",
"react-scripts": "5.0.1",
"react-toastify": "^9.0.8",
"web-vitals": "^2.1.4"
},
"scripts": {
Expand Down
Empty file removed car-ui-react/src/hooks/.gitkeep
Empty file.
10 changes: 10 additions & 0 deletions car-ui-react/src/hooks/useTitle.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { useEffect } from "react";

export const useTitle = (title) => {

useEffect(() => {
document.title = `${title} - NashTechAutoMarket`;
}, [title]);

return null;
}
Empty file removed car-ui-react/src/pages/.gitkeep
Empty file.
Loading

0 comments on commit 9854f22

Please sign in to comment.