Excessive logging deprecated

This commit is contained in:
AG
2025-11-28 17:57:01 +02:00
parent b4cc722a79
commit b635af69a7
3 changed files with 9 additions and 9 deletions

View File

@@ -81,7 +81,7 @@ const Profile: React.FC<ProfileProps> = ({ user, onLogout, lang, onLanguageChang
const refreshExercises = async () => {
const exercises = await getExercises(user.id);
console.log('Refreshed exercises:', exercises);
setExercises(exercises);
};
@@ -172,9 +172,9 @@ const Profile: React.FC<ProfileProps> = ({ user, onLogout, lang, onLanguageChang
// Exercise Management Handlers
const handleArchiveExercise = async (ex: ExerciseDef, archive: boolean) => {
const updated = { ...ex, isArchived: archive };
console.log('Archiving exercise:', updated);
await saveExercise(user.id, updated);
console.log('Archive complete, refreshing...');
await refreshExercises();
};