mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-21 14:31:11 -05:00
Fix critical path catch blocks
This commit is contained in:
@@ -67,7 +67,7 @@ export function EntityMultiImageUploader({
|
||||
if (image.isLocal && image.url.startsWith('blob:')) {
|
||||
try {
|
||||
URL.revokeObjectURL(image.url);
|
||||
} catch (error) {
|
||||
} catch (error: unknown) {
|
||||
console.error('Error revoking object URL:', error);
|
||||
}
|
||||
}
|
||||
@@ -105,7 +105,7 @@ export function EntityMultiImageUploader({
|
||||
banner_assignment: bannerIndex >= 0 ? bannerIndex : null,
|
||||
card_assignment: cardIndex >= 0 ? cardIndex : null,
|
||||
});
|
||||
} catch (error) {
|
||||
} catch (error: unknown) {
|
||||
console.error('Failed to load entity photos:', error);
|
||||
toast({
|
||||
title: 'Error',
|
||||
|
||||
Reference in New Issue
Block a user