mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 18:51:13 -05:00
Fix critical path catch blocks
This commit is contained in:
@@ -49,7 +49,7 @@ export function SimplePhotoUpload({ onUpload, disabled, children }: SimplePhotoU
|
||||
title: 'Image uploaded',
|
||||
description: 'Your image has been uploaded successfully'
|
||||
});
|
||||
} catch (error) {
|
||||
} catch (error: unknown) {
|
||||
toast({
|
||||
title: 'Upload failed',
|
||||
description: getErrorMessage(error),
|
||||
|
||||
Reference in New Issue
Block a user