fix: remove console.error and update uploadPhoto type signature in item creation

This commit is contained in:
2026-04-21 13:26:09 +03:00
parent 661094cfce
commit 2ba1994022
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ interface UseItemCreateReturn {
goToStep: (step: 'details' | 'photo' | 'preview' | 'confirm') => void;
nextStep: () => void;
prevStep: () => void;
uploadPhoto: (file: File) => Promise<void>;
uploadPhoto: (file: File, photoItemId?: number) => Promise<void>;
submitItem: (userId: number) => Promise<any>;
reset: () => void;
}