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

Commit

Permalink
Fix getNode() warning
Browse files Browse the repository at this point in the history
  • Loading branch information
xmflsct authored Jan 19, 2021
1 parent 220ec90 commit 7952548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default class ViewPagerBackend<T extends Route> extends React.Component<
private jumpToIndex = (index: number) => {
// If the index changed, we need to trigger a tab switch
// this.isSwipeGesture.setValue(FALSE);
this.ref.current.getNode().setPage(index);
this.ref.current.setPage(index);
};

private jumpTo = (key: string) => {
Expand Down

0 comments on commit 7952548

Please sign in to comment.