mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 06:11:12 -05:00
Fix feature path catch blocks
This commit is contained in:
@@ -154,7 +154,7 @@ export function MarkdownEditor({
|
||||
if (!imageUrl) throw new Error('Failed to generate image URL');
|
||||
|
||||
return imageUrl;
|
||||
} catch (error) {
|
||||
} catch (error: unknown) {
|
||||
console.error('Image upload failed:', error);
|
||||
throw new Error(error instanceof Error ? error.message : 'Failed to upload image');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user