pl-fe: Remove any

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-10-26 17:44:44 +02:00
parent e256d1cb79
commit 154c344a30

View file

@ -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;
}, []);