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

fix: modifier.function is deprecated, use modifier.fn #22

Merged
merged 1 commit into from
May 10, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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