pl-fe: Remove any
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
e256d1cb79
commit
154c344a30
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ const GroupGallery: React.FC<IGroupGallery> = (props) => {
|
|||
} = useGroupMedia(groupId);
|
||||
|
||||
const attachments = statuses.reduce<AccountGalleryAttachment[]>((result, status) => {
|
||||
result.push(...status.media_attachments.map((a) => ({ ...a, status: status as any, account: status.account })));
|
||||
result.push(...status.media_attachments.map((a) => ({ ...a, status, account: status.account })));
|
||||
return result;
|
||||
}, []);
|
||||
|
||||
|
|
Loading…
Reference in a new issue