Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #22 from davekiss/patch-1
Browse files Browse the repository at this point in the history
fix: modifier.function is deprecated, use modifier.fn
  • Loading branch information
souporserious authored May 10, 2017
2 parents 2109ac0 + 5f232a6 commit b4dded2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Popper.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class Popper extends Component {
_updateStateModifier = {
enabled: true,
order: 900,
function: data => {
fn: data => {
if (
(this.state.data && !isEqual(data.offsets, this.state.data.offsets)) ||
!this.state.data
Expand Down

0 comments on commit b4dded2

Please sign in to comment.