pl-fe: Display block expiration date in blocks list

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2025-12-29 00:33:17 +01:00
parent 664c7e91a7
commit 11e3a5417d
6 changed files with 40 additions and 7 deletions

View File

@ -43,8 +43,8 @@ const BlocksPage: React.FC = () => {
itemClassName={clsx('pb-4', { 'last:pb-0': !hasNextPage })}
isLoading={isFetching}
>
{data.map((accountId) => (
<AccountContainer key={accountId} id={accountId} actionType='blocking' />
{data.map(([accountId, blockExpiresAt]) => (
<AccountContainer key={accountId} id={accountId} actionType='blocking' blockExpiresAt={blockExpiresAt} />
))}
</ScrollableList>
</Column>