fix: Render ProfileModal in App.jsx and support guest display name editing from Navbar

This commit is contained in:
Richard
2026-08-01 12:20:24 +02:00
parent 5f1607f0d3
commit 4b13e57fcb
4 changed files with 42 additions and 15 deletions
+14
View File
@@ -651,6 +651,20 @@ export default function App() {
onSubmit={handleGuestSubmit}
/>
)}
{showProfileModal && (
<ProfileModal
user={user}
skills={skills}
onClose={() => setShowProfileModal(false)}
onUserUpdated={(updatedUser) => {
setUser(updatedUser);
setShowProfileModal(false);
refreshEvents();
}}
onRefreshSkills={refreshSkills}
/>
)}
</div>
);
}