feat: update intern routes and navigation to use '/internship' path; refactor token handling in API and authentication components

This commit is contained in:
Kemas M. Aryadary Rasyad
2026-08-03 14:42:22 +07:00
parent 252671a2cc
commit 5dbb21bf5a
9 changed files with 44 additions and 73 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ function App() {
{/* Intern only */}
<Route element={<ProtectedRoutes allowedRoles={["intern"]} />}>
<Route path="/intern" element={<InternLayout />}>
<Route path="/internship" element={<InternLayout />}>
<Route index element={<HomeInternPage />} />
<Route path="projects" element={<ProjectsPage />} />
<Route path="certificates" element={<SertificateList />} />