Check exercise name uniqueness when creating

This commit is contained in:
AG
2025-11-26 22:26:45 +02:00
parent 53d11c6665
commit 94f0a9a17a
4 changed files with 35 additions and 9 deletions

View File

@@ -514,6 +514,7 @@ const Profile: React.FC<ProfileProps> = ({ user, onLogout, lang, onLanguageChang
onClose={() => setIsCreatingEx(false)}
onSave={handleCreateExercise}
lang={lang}
existingExercises={exercises}
/>
)}