File tree Expand file tree Collapse file tree 1 file changed +12
-18
lines changed Expand file tree Collapse file tree 1 file changed +12
-18
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ import {
12
12
AccordionItem ,
13
13
AccordionPanel ,
14
14
Box ,
15
- Button ,
16
15
Heading ,
17
16
Text ,
18
17
} from "@chakra-ui/react"
@@ -98,12 +97,7 @@ const ExpandableCard: React.FC<IProps> = ({
98
97
my = "4"
99
98
>
100
99
{ ! ! Svg && < Svg /> }
101
- < Text
102
- fontSize = "xl"
103
- fontWeight = "semibold"
104
- flex = "1"
105
- m = "0"
106
- >
100
+ < Text fontSize = "xl" fontWeight = "semibold" flex = "1" m = "0" >
107
101
{ title }
108
102
</ Text >
109
103
</ Box >
@@ -127,23 +121,23 @@ const ExpandableCard: React.FC<IProps> = ({
127
121
</ Text >
128
122
</ Box >
129
123
</ AccordionButton >
130
- </ h3 >
124
+ </ Heading >
131
125
< AccordionPanel
132
126
paddingX = "2"
133
127
paddingBottom = "2"
134
128
paddingTop = "0"
135
129
onClick = { onClick }
136
130
>
137
- < Box
138
- fontSize = "md"
139
- color = "text"
140
- marginTop = "8"
141
- paddingTop = "6"
142
- borderTop = "1px solid"
143
- borderColor = "border"
144
- >
145
- { children }
146
- </ Box >
131
+ < Box
132
+ fontSize = "md"
133
+ color = "text"
134
+ marginTop = "8"
135
+ paddingTop = "6"
136
+ borderTop = "1px solid"
137
+ borderColor = "border"
138
+ >
139
+ { children }
140
+ </ Box >
147
141
</ AccordionPanel >
148
142
</ AccordionItem >
149
143
</ Accordion >
You can’t perform that action at this time.
0 commit comments