diff --git a/CHANGELOG.md b/CHANGELOG.md index 52f24065..626c74e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Precise UI Changelog +## 2.1.7 + +- Fix `onChange` double trigger on clicking `AccordionTable` expand icon + ## 2.1.6 - Fixed controlled mode on Pagination component diff --git a/package-lock.json b/package-lock.json index b5c79c82..c374f235 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "precise-ui", - "version": "2.1.6", + "version": "2.1.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 8dd05268..ac8f91af 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "precise-ui", - "version": "2.1.6", + "version": "2.1.7", "description": "Precise UI React component library powered by Styled Components.", "keywords": [ "react", @@ -125,4 +125,4 @@ "engines": { "node": ">=10.0.0" } -} \ No newline at end of file +} diff --git a/src/components/AccordionTable/AccordionTableBasic.part.tsx b/src/components/AccordionTable/AccordionTableBasic.part.tsx index 24b7d64a..6859dd97 100644 --- a/src/components/AccordionTable/AccordionTableBasic.part.tsx +++ b/src/components/AccordionTable/AccordionTableBasic.part.tsx @@ -297,13 +297,7 @@ export class AccordionTableBasic extends React.Component data && this.handleClick(row, data)} - /> - ); + return ; } const { cellRenderer } = this.props;