File tree 1 file changed +6
-14
lines changed
static/app/components/group
1 file changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -297,10 +297,8 @@ function GroupSummaryFull({
297
297
}
298
298
return (
299
299
< InsightCard key = { card . id } >
300
- < CardTitle preview = { preview } cardId = { card . id } >
301
- < CardTitleIcon cardId = { card . id } preview = { preview } >
302
- { card . icon }
303
- </ CardTitleIcon >
300
+ < CardTitle >
301
+ < CardTitleIcon > { card . icon } </ CardTitleIcon >
304
302
< CardTitleText > { card . title } </ CardTitleText >
305
303
</ CardTitle >
306
304
< CardContentContainer >
@@ -362,14 +360,11 @@ const InsightCard = styled('div')`
362
360
min-height: 0;
363
361
` ;
364
362
365
- const CardTitle = styled ( 'div' ) < { cardId ?: string ; preview ?: boolean } > `
363
+ const CardTitle = styled ( 'div' ) `
366
364
display: flex;
367
365
align-items: center;
368
366
gap: ${ space ( 1 ) } ;
369
- color: ${ p =>
370
- p . preview === false && p . cardId === 'whats_wrong'
371
- ? p . theme . textColor
372
- : p . theme . subText } ;
367
+ color: ${ p => p . theme . subText } ;
373
368
padding-bottom: ${ space ( 0.5 ) } ;
374
369
` ;
375
370
@@ -379,13 +374,10 @@ const CardTitleText = styled('p')`
379
374
font-weight: ${ p => p . theme . fontWeightBold } ;
380
375
` ;
381
376
382
- const CardTitleIcon = styled ( 'div' ) < { cardId ?: string ; preview ?: boolean } > `
377
+ const CardTitleIcon = styled ( 'div' ) `
383
378
display: flex;
384
379
align-items: center;
385
- color: ${ p =>
386
- p . preview === false && p . cardId === 'whats_wrong'
387
- ? p . theme . pink400
388
- : p . theme . subText } ;
380
+ color: ${ p => p . theme . subText } ;
389
381
` ;
390
382
391
383
const CardContentContainer = styled ( 'div' ) `
You can’t perform that action at this time.
0 commit comments