File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -69,8 +69,7 @@ const ClayCard: React.FunctionComponent<IProps> & {
69
69
{ ...otherProps }
70
70
className = { classNames ( className , {
71
71
card : ! selectable && ( ! horizontal || interactive ) ,
72
- 'card-interactive card-interactive-primary card-type-template' :
73
- interactive ,
72
+ 'card-interactive card-interactive-primary card-type-template' : interactive ,
74
73
'card-type-asset' :
75
74
isCardType . file || isCardType . image || isCardType . user ,
76
75
'card-type-directory form-check form-check-card form-check-middle-left' :
@@ -85,7 +84,7 @@ const ClayCard: React.FunctionComponent<IProps> & {
85
84
'template-card' : interactive && ! horizontal ,
86
85
'template-card-horizontal' : horizontal && interactive ,
87
86
'user-card' : isCardType . user ,
88
- } ) || undefined }
87
+ } ) }
89
88
href = { interactive ? href : undefined }
90
89
onClick = { onClick }
91
90
role = { onClick ? 'button' : undefined }
Original file line number Diff line number Diff line change 2
2
3
3
exports [` ClayCard renders a ClayCard as a directory 1` ] = `
4
4
<div >
5
- <div >
5
+ <div
6
+ class = " "
7
+ >
6
8
<div
7
9
class = " card card-horizontal"
8
10
>
@@ -1392,7 +1394,9 @@ exports[`ClayCardWithHorizontal renders as disabled 1`] = `
1392
1394
1393
1395
exports [` ClayCardWithHorizontal renders as not selectable 1` ] = `
1394
1396
<div >
1395
- <div >
1397
+ <div
1398
+ class = " "
1399
+ >
1396
1400
<div
1397
1401
class = " card card-horizontal"
1398
1402
>
You can’t perform that action at this time.
0 commit comments