Skip to content
Open
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
2 changes: 0 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,3 @@ npx lint-staged || exit 1

# Run lint, if it fails, the commit will be aborted
npm run lint || exit 1

git add .
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@
"lint-staged": {
"*.{js,jsx}": [
"prettier --write",
"eslint --fix",
"git add"
"eslint --fix"
]
}
}
19 changes: 14 additions & 5 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import Dashboard from "./Modules/Dashboard/dashboardNotifications";
import Profile from "./Modules/Dashboard/StudentProfile/profilePage";
import LoginPage from "./pages/login";
import ForgotPassword from "./pages/forgotPassword";
import AcademicPage from "./Modules/Academic/index";
// import AcademicPage from "./Modules/Academic/index";
import HostelManagement from "./Modules/Hostel-Management/index";
import ValidateAuth from "./helper/validateauth";
import FacultyProfessionalProfile from "./Modules/facultyProfessionalProfile/facultyProfessionalProfile";
import InactivityHandler from "./helper/inactivityhandler";
Expand Down Expand Up @@ -46,19 +47,27 @@ export default function App() {
</Layout>
}
/>
{/* <Route
path="/academics"
element={
<Layout>
<AcademicPage />
</Layout>
}
/> */}
<Route
path="/academics"
path="/profile"
element={
<Layout>
<AcademicPage />
<Profile />
</Layout>
}
/>
<Route
path="/profile"
path="/hostelmanagement"
element={
<Layout>
<Profile />
<HostelManagement />
</Layout>
}
/>
Expand Down
Loading