Skip to content

Commit

Permalink
Remove '.reverse()' instance
Browse files Browse the repository at this point in the history
  • Loading branch information
vasharma05 committed Jun 26, 2024
1 parent 5e5de4c commit f275e02
Showing 1 changed file with 10 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,18 +113,16 @@ function QueueTablesByStatus({ selectedQueue, searchTerm }: QueueTablesByStatusP
}
return (
<div className={styles.container}>
{allowedStatuses
?.reverse()
?.map((status) => (
<QueueTableForQueueAndStatus
isValidating={isValidating}
key={status.uuid}
queueEntries={queueEntries}
searchTerm={searchTerm}
queue={selectedQueue}
status={status}
/>
))}
{allowedStatuses?.map((status) => (
<QueueTableForQueueAndStatus
isValidating={isValidating}
key={status.uuid}
queueEntries={queueEntries}
searchTerm={searchTerm}
queue={selectedQueue}
status={status}
/>
))}
</div>
);
}
Expand Down

0 comments on commit f275e02

Please sign in to comment.