Remove debug console logs

This commit is contained in:
gpt-engineer-app[bot]
2025-10-21 15:51:53 +00:00
parent 5e789c7b4b
commit d78356e673
26 changed files with 37 additions and 156 deletions

View File

@@ -17,6 +17,7 @@ import { getErrorMessage } from '@/lib/errorHandler';
import { supabase } from '@/integrations/supabase/client';
import { invokeWithTracking } from '@/lib/edgeFunctionTracking';
import { useAuth } from '@/hooks/useAuth';
import { logger } from '@/lib/logger';
interface PhotoUploadProps {
onUploadComplete?: (urls: string[], imageId?: string) => void;
@@ -250,7 +251,7 @@ export function PhotoUpload({
'DELETE'
);
} catch (deleteError) {
console.warn('Failed to delete old avatar:', deleteError);
logger.warn('Failed to delete old avatar');
}
}