feat: refactor notification detail handling and add verification spare part page

This commit is contained in:
2025-11-21 16:25:50 +07:00
parent c4f290bfcb
commit 1eab3fe845
4 changed files with 83 additions and 6 deletions

View File

@@ -34,7 +34,8 @@ import IndexNotification from './pages/notification/IndexNotification';
import IndexRole from './pages/role/IndexRole';
import IndexUser from './pages/user/IndexUser';
import IndexContact from './pages/contact/IndexContact';
import DetailNotification from './pages/sparepartGudang/IndexSparepartGudang'
import DetailNotificationTab from './pages/detailNotification/IndexDetailNotification';
import IndexVerificationSparepart from './pages/verificationSparepart/IndexVerificationSparepart';
import SvgTest from './pages/home/SvgTest';
import SvgOverviewCompressor from './pages/home/SvgOverviewCompressor';
@@ -58,7 +59,8 @@ const App = () => {
<Route path="/signin" element={<SignIn />} />
<Route path="/signup" element={<SignUp />} />
<Route path="/svg" element={<SvgTest />} />
<Route path="/detail-notification/:notificationId" element={<DetailNotification />} />
<Route path="/detail-notification/:notificationId" element={<DetailNotificationTab />} />
<Route path="/verification-sparepart/:notificationId" element={<IndexVerificationSparepart />} />
{/* Protected Routes */}