Skip to content

Commit 307fb1a

Browse files
committed
fix: brutalist log page index of the cards
1 parent 3050486 commit 307fb1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/brutalist-views/BrutalistLogsPage.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ const BrutalistLogsPage = () => {
251251
: "flex flex-col"
252252
}
253253
>
254-
{filteredLogs.map((log) => (
254+
{filteredLogs.map((log, ndx) => (
255255
<motion.div
256256
layout
257257
key={log.id}
@@ -262,7 +262,7 @@ const BrutalistLogsPage = () => {
262262
>
263263
<LogCard
264264
log={log}
265-
index={log.originalIndex}
265+
index={ndx} // previously log.originalIndex
266266
totalLogs={logs.length}
267267
viewMode={viewMode}
268268
/>

0 commit comments

Comments
 (0)