Pass in postID for Boosted/Liked sheet here too

This commit is contained in:
Lim Chee Aun 2024-03-27 10:19:01 +08:00
parent 66e58c74ef
commit 2bc24cc495

View file

@ -2,7 +2,7 @@ import { Fragment } from 'preact';
import { memo } from 'preact/compat';
import shortenNumber from '../utils/shorten-number';
import states from '../utils/states';
import states, { statusKey } from '../utils/states';
import store from '../utils/store';
import useTruncated from '../utils/useTruncated';
@ -228,6 +228,7 @@ function Notification({
accounts: _accounts,
showReactions: type === 'favourite+reblog',
excludeRelationshipAttrs: type === 'follow' ? ['followedBy'] : [],
postID: statusKey(actualStatusID, instance),
};
};