File tree 2 files changed +2
-2
lines changed 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @programmer_network/yail" ,
3
- "version" : " 1.0.180 " ,
3
+ "version" : " 1.0.181 " ,
4
4
"description" : " Programmer Network's official UI library for React" ,
5
5
"author" : " Aleksandar Grbic - (https://programmer.network)" ,
6
6
"publishConfig" : {
Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ const Accordion: FC<IAccordionProps> = ({
79
79
. map ( ( section , idx ) => (
80
80
< div
81
81
key = { section . id }
82
- onClick = { ( ) => onSectionClick ?.( section ) }
83
82
draggable = { hasDraggableSections }
84
83
onDrag = { e => handleDrag ( e , section ) }
85
84
onDragOver = { ( ) =>
@@ -106,6 +105,7 @@ const Accordion: FC<IAccordionProps> = ({
106
105
onClick = { e => {
107
106
e . stopPropagation ( ) ;
108
107
e . preventDefault ( ) ;
108
+ onSectionClick ?.( section ) ;
109
109
setSelectedSectionId ( section . id ) ;
110
110
} }
111
111
className = { classNames (
You can’t perform that action at this time.
0 commit comments