Skip to content

Commit

Permalink
fix(properties): correctly name setImmediateEffect
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbonnet committed Jun 2, 2019
1 parent e808291 commit 2cb26eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/properties.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export function withImmediateEffect(shouldHandleOrKeys, handler) {
return (Component) =>
setWrapperName(
Component,
class withEffect extends BaseComponent {
class withImmediateEffect extends BaseComponent {
constructor(props) {
super(props)
this.state = { props, cleanup: handler(this.props) }
Expand Down

0 comments on commit 2cb26eb

Please sign in to comment.