User already exists message is red. Modals to the viewport center. Fixed Quit option: it deletes the session.

This commit is contained in:
AG
2025-12-01 07:23:47 +02:00
parent 0290bbabd7
commit ead48fb249
9 changed files with 70 additions and 20 deletions

View File

@@ -102,6 +102,7 @@ function App() {
const handleStartSession = async (plan?: WorkoutPlan, startWeight?: number) => {
if (!currentUser) return;
if (activeSession) return;
// Get latest weight from profile or default
const profile = getCurrentUserProfile(currentUser.id);