fix: Correct profile settings route from /profile-settings to /profile/settings

Issue: Edit Profile button returned 404 error

Root Cause:
- App.tsx route: /profile-settings (with dash)
- Dashboard navigate: /profile/settings (with slash)
- Route mismatch caused 404

Changes:
- Updated App.tsx route: /profile-settings → /profile/settings
- Updated AppLayout.tsx Settings button navigation

All profile settings links now use consistent /profile/settings route

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-10-29 04:04:50 +03:00
parent d00b830e0a
commit 9cc05b3d72
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ function App() {
<Dashboard />
</ProtectedRoute>
} />
<Route path="/profile-settings" element={
<Route path="/profile/settings" element={
<ProtectedRoute>
<ProfileSettings />
</ProtectedRoute>
+2 -2
View File
@@ -192,8 +192,8 @@ const AppLayout: React.FC = () => {
</div>
</div>
<button
onClick={() => navigate('/profile-settings')}
<button
onClick={() => navigate('/profile/settings')}
className="text-gray-300 hover:text-white transition-colors flex items-center gap-1 text-sm"
>
<Settings className="w-4 h-4" />