File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -278,23 +278,37 @@ function commentRow(
278
278
</ div >
279
279
< div className = "flex flex-shrink-0 items-center gap-1" >
280
280
{ row . latestDraft . stats . links . length > 0 && (
281
- < Badge type = "link" text = { row . latestDraft . stats . links . length } />
281
+ < Badge
282
+ type = "link"
283
+ text = { row . latestDraft . stats . links . length }
284
+ data = { row }
285
+ />
282
286
) }
283
287
{ row . latestDraft . stats . images . length > 0 && (
284
288
< Badge
285
289
type = "image"
286
290
text = { row . latestDraft . stats . images . length }
291
+ data = { row }
287
292
/>
288
293
) }
289
294
{ row . latestDraft . stats . codeBlocks . length > 0 && (
290
295
< Badge
291
296
type = "code"
292
297
text = { row . latestDraft . stats . codeBlocks . length }
298
+ data = { row }
293
299
/>
294
300
) }
295
- < Badge type = "text" text = { row . latestDraft . stats . charCount } />
296
- < Badge type = "time" text = { timeAgo ( row . latestDraft . time ) } />
297
- { row . isOpenTab && < Badge type = "open" /> }
301
+ < Badge
302
+ type = "text"
303
+ text = { row . latestDraft . stats . charCount }
304
+ data = { row }
305
+ />
306
+ < Badge
307
+ type = "time"
308
+ text = { timeAgo ( row . latestDraft . time ) }
309
+ data = { row }
310
+ />
311
+ { row . isOpenTab && < Badge type = "open" data = { row } /> }
298
312
</ div >
299
313
</ div >
300
314
You can’t perform that action at this time.
0 commit comments