Updated code

This commit is contained in:
2026-07-04 19:34:54 -04:00
parent a616990c98
commit 20504e01bf
3 changed files with 6 additions and 19 deletions
+2 -7
View File
@@ -3,6 +3,7 @@ import { useNavigate } from 'react-router-dom';
import { tokenService } from '../services/TokenService';
import { userApi } from '../api/loginApi';
import { APP_NAME } from '../constants/app';
import './ProfileForm.css';
@@ -224,7 +225,7 @@ const ProfileForm = () => {
{/* Navbar */}
<nav className="dashboard-nav">
<div className="nav-logo">
<span className="logo-text">Dashboard</span>
<span className="logo-text">{APP_NAME}</span>
</div>
<div className="nav-links">
<button
@@ -233,12 +234,6 @@ const ProfileForm = () => {
>
Dashboard
</button>
<button
className={`nav-link ${activeView === 'settings' ? 'active' : ''}`}
onClick={() => handleNavClick('settings')}
>
Settings
</button>
<button
className={`nav-link ${activeView === 'profile' ? 'active' : ''}`}
onClick={() => handleNavClick('profile')}