Fix malformed JSX in AdminHome.jsx causing frontend build failure - #23
Conversation
Signed-off-by: Tejashwini <deviteja76@gmail.com>
Build issue addressed as expected. LGTM, approving. |
Signed-off-by: Tejashwini <deviteja76@gmail.com>
Build issue addressed as expected. LGTM, approving. |
Description
Fixed malformed JSX in
frontend/src/components/admin/AdminHome.jsxthat broke the frontend build. The dashboard navigation had a duplicated/incomplete<nav>block — the "Activity Logs" button was missing its opening<Buttontag and was merged incorrectly with a second<nav>element, splitting what should be a single three-way conditional (Users / Payments / Activity Logs) into two broken conditional blocks.Merged into a single
<nav>with all three buttons properly structured, and combined the conditionals into one clean three-way check (payments→activity-logs→ defaultusers).Closes #22
Build Verification
Ran
npm run devin thefrontendfolder after the fix — Vite starts cleanly with no errors, confirming the build issue is resolved.Type of Change
Checklist