mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-23 14:13:21 +01:00
Fix bug: media attachments not updated when edited
This commit is contained in:
parent
aa664e15f6
commit
f6ad22e58f
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ function StatusPage(params) {
|
||||||
}, [showMedia]);
|
}, [showMedia]);
|
||||||
|
|
||||||
const mediaAttachments = mediaStatusID
|
const mediaAttachments = mediaStatusID
|
||||||
? mediaStatus?.mediaAttachments
|
? snapStates.statuses[statusKey(mediaStatusID, instance)]?.mediaAttachments
|
||||||
: heroStatus?.mediaAttachments;
|
: heroStatus?.mediaAttachments;
|
||||||
|
|
||||||
const handleMediaClose = useCallback(() => {
|
const handleMediaClose = useCallback(() => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue