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(
278278 </ div >
279279 < div className = "flex flex-shrink-0 items-center gap-1" >
280280 { 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+ />
282286 ) }
283287 { row . latestDraft . stats . images . length > 0 && (
284288 < Badge
285289 type = "image"
286290 text = { row . latestDraft . stats . images . length }
291+ data = { row }
287292 />
288293 ) }
289294 { row . latestDraft . stats . codeBlocks . length > 0 && (
290295 < Badge
291296 type = "code"
292297 text = { row . latestDraft . stats . codeBlocks . length }
298+ data = { row }
293299 />
294300 ) }
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 } /> }
298312 </ div >
299313 </ div >
300314
You can’t perform that action at this time.
0 commit comments