mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-28 16:46:59 -05:00
Refactor: Implement logging and JSONB cleanup
This commit is contained in:
@@ -64,7 +64,6 @@ export function usePhotoSubmissionItems(
|
||||
setPhotos(data || []);
|
||||
} catch (error: unknown) {
|
||||
const errorMsg = getErrorMessage(error);
|
||||
console.error('Error fetching photo submission items:', errorMsg);
|
||||
setError(errorMsg);
|
||||
setPhotos([]);
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user