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