pl-fe: why

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-01-30 07:34:48 +01:00
parent dad1d5dba8
commit b642ed8e85
10 changed files with 10 additions and 10 deletions

View File

@ -82,7 +82,7 @@ const ManagePendingParticipants: React.FC<IManagePendingParticipants> = ({ statu
scrollKey={`eventPendingParticipants:${statusId}`}
emptyMessageText={<FormattedMessage id='empty_column.event_participant_requests' defaultMessage='There are no pending event participation requests.' />}
hasMore={hasNextPage}
isLoading={typeof isLoading === 'boolean' ? isLoading : true}
isLoading={isLoading}
onLoadMore={() => fetchNextPage({ cancelRefetch: false })}
>
{accounts.map(({ account_id, participation_message }) =>

View File

@ -36,7 +36,7 @@ const DislikesModal: React.FC<BaseModalProps & DislikesModalProps> = ({ onClose,
itemClassName='pb-3'
style={{ height: 'calc(80vh - 88px)' }}
hasMore={hasNextPage}
isLoading={typeof isLoading === 'boolean' ? isLoading : true}
isLoading={isLoading}
onLoadMore={() => fetchNextPage({ cancelRefetch: false })}
useWindowScroll={false}
>

View File

@ -36,7 +36,7 @@ const EventParticipantsModal: React.FC<BaseModalProps & EventParticipantsModalPr
itemClassName='pb-3'
style={{ height: 'calc(80vh - 88px)' }}
hasMore={hasNextPage}
isLoading={typeof isLoading === 'boolean' ? isLoading : true}
isLoading={isLoading}
onLoadMore={() => fetchNextPage({ cancelRefetch: false })}
useWindowScroll={false}
>

View File

@ -36,7 +36,7 @@ const FavouritesModal: React.FC<BaseModalProps & FavouritesModalProps> = ({ onCl
itemClassName='pb-3'
style={{ height: 'calc(80vh - 88px)' }}
hasMore={hasNextPage}
isLoading={typeof isLoading === 'boolean' ? isLoading : true}
isLoading={isLoading}
onLoadMore={() => fetchNextPage({ cancelRefetch: false })}
useWindowScroll={false}
>

View File

@ -91,7 +91,7 @@ const ReactionsModal: React.FC<BaseModalProps & ReactionsModalProps> = ({ onClos
})}
itemClassName='pb-3'
style={{ height: reactions.length > 0 ? 'calc(80vh - 159px)' : 'calc(80vh - 88px)' }}
isLoading={typeof isLoading === 'boolean' ? isLoading : true}
isLoading={isLoading}
useWindowScroll={false}
>
{accounts.map((account) =>

View File

@ -36,7 +36,7 @@ const ReblogsModal: React.FC<BaseModalProps & ReblogsModalProps> = ({ onClose, s
itemClassName='pb-3'
style={{ height: 'calc(80vh - 88px)' }}
hasMore={hasNextPage}
isLoading={typeof isLoading === 'boolean' ? isLoading : true}
isLoading={isLoading}
onLoadMore={() => fetchNextPage({ cancelRefetch: false })}
useWindowScroll={false}
>

View File

@ -81,7 +81,7 @@ const FollowRequestsPage: React.FC = () => {
<ScrollableList
scrollKey='followRequests'
hasMore={hasNextPage}
isLoading={typeof isLoading === 'boolean' ? isLoading : true}
isLoading={isLoading}
onLoadMore={() => fetchNextPage({ cancelRefetch: false })}
emptyMessageText={<FormattedMessage id='empty_column.follow_requests' defaultMessage="You don't have any follow requests yet. When you receive one, it will show up here." />}
>

View File

@ -22,7 +22,7 @@ const OutgoingFollowRequestsPage: React.FC = () => {
<ScrollableList
scrollKey='outgoingFollowRequests'
hasMore={hasNextPage}
isLoading={typeof isLoading === 'boolean' ? isLoading : true}
isLoading={isLoading}
onLoadMore={() => fetchNextPage({ cancelRefetch: false })}
emptyMessageText={<FormattedMessage id='empty_column.outgoing_follow_requests' defaultMessage="You don't have any outgoing follow requests yet. When you try to follow a user, it will show up here." />}
itemClassName='p-2.5'

View File

@ -35,7 +35,7 @@ const QuotesPage: React.FC = () => {
statusIds={statusIds}
scrollKey={`quotes:${statusId}`}
hasMore={hasNextPage}
isLoading={typeof isLoading === 'boolean' ? isLoading : true}
isLoading={isLoading}
onLoadMore={handleLoadMore}
emptyMessageText={emptyMessage}
/>

View File

@ -22,7 +22,7 @@ const ScheduledStatusesPage = () => {
<Column label={intl.formatMessage(messages.heading)}>
<ScrollableList
hasMore={hasNextPage}
isLoading={typeof isLoading === 'boolean' ? isLoading : true}
isLoading={isLoading}
onLoadMore={() => fetchNextPage({ cancelRefetch: false })}
emptyMessageText={emptyMessage}
listClassName='divide-y divide-solid divide-gray-200 black:divide-gray-800 dark:divide-primary-800'