Skip to content

Commit c4c5aad

Browse files
reverse order of slots in leader schedule page cards
1 parent ba99545 commit c4c5aad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/features/LeaderSchedule/Slots/SlotCardGrid.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default function SlotCardGrid({ slot, currentSlot }: SlotCardGridProps) {
7878
Compute Units
7979
</Text>
8080
{new Array(4).fill(0).map((_, i) => {
81-
const cardSlot = slot + i;
81+
const cardSlot = slot + 3 - i;
8282
return (
8383
<SlotCardRow
8484
key={cardSlot}
@@ -106,7 +106,7 @@ function SlotColumn({ slot, currentSlot }: SlotCardGridProps) {
106106
{isWideScreen ? "Slot" : "\u00A0"}
107107
</Text>
108108
{new Array(4).fill(0).map((_, i) => {
109-
const cardSlot = slot + i;
109+
const cardSlot = slot + 3 - i;
110110
const isCurrent = cardSlot === currentSlot;
111111

112112
return (

0 commit comments

Comments
 (0)