Skip to content

Commit

Permalink
Merge pull request #75 from springload/chore/make-flow-ignore-dist-fo…
Browse files Browse the repository at this point in the history
…lder

Add 'dist' folder to list of Flow ignores
  • Loading branch information
vincentaudebert committed Apr 12, 2018
2 parents a201264 + 10976d2 commit 70c1d37
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[ignore]
.*/dist/.*

[include]

Expand Down
10 changes: 7 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,20 @@
## Next

### Fixed

* Add `dist` folder to list of Flow ignores, so Flow doesn’t error after a build.

### Changed

* Refactored to use `unstated` for state-management instead of `mobx` + `mobx-react`, cutting the
size of the bundle by approximately 60% 🎉.
* Upgraded a bunch of devDependencies, including Webpack which required a bit of a config refactor.

## [[v2.3.0]](https://github.com/springload/react-accessible-accordion/releases/tag/v2.3.0)

### Changed

* Upgraded a bunch of devDependencies, including Webpack which required a bit of a config refactor.
* Refactored to use `unstated` for state-management instead of `mobx` + `mobx-react`, cutting the
size of the bundle by approximately 60% 🎉.

## [[v2.2.1]](https://github.com/springload/react-accessible-accordion/releases/tag/v2.2.1)

Expand Down
2 changes: 1 addition & 1 deletion src/AccordionItemTitle/accordion-item-title.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class AccordionItemTitle extends Component<
}
};

handleKeyPress = (evt: SyntheticInputEvent<HTMLButtonElement>) => {
handleKeyPress = (evt: SyntheticKeyboardEvent<HTMLButtonElement>) => {
if (evt.charCode === 13 || evt.charCode === 32) {
this.handleClick();
}
Expand Down

0 comments on commit 70c1d37

Please sign in to comment.