mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 19:51:12 -05:00
Fix internal error
This commit is contained in:
@@ -61,7 +61,7 @@ export const SubmissionItemsList = memo(function SubmissionItemsList({
|
||||
}
|
||||
|
||||
setItems((itemsData || []) as SubmissionItemData[]);
|
||||
setHasPhotos(photoData && photoData.length > 0);
|
||||
setHasPhotos(!!(photoData && photoData.length > 0));
|
||||
} catch (err) {
|
||||
logger.error('Failed to fetch submission items', { error: getErrorMessage(err) });
|
||||
setError('Failed to load submission details');
|
||||
|
||||
Reference in New Issue
Block a user