mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Fix Sentry reported crashes
This commit is contained in:
@ -88,7 +88,7 @@ const composeReducer = (
|
||||
attachments: {
|
||||
...state.attachments,
|
||||
uploads: state.attachments.uploads.map(upload =>
|
||||
upload.remote!.id === action.payload!.id
|
||||
upload.remote?.id === action.payload?.id
|
||||
? { ...upload, remote: action.payload }
|
||||
: upload
|
||||
)
|
||||
|
Reference in New Issue
Block a user