react-tinder-card
react-tinder-card copied to clipboard
Anyone else - `previous.current.restoreCard is not a function`? 😬
- Version
1.6.2
- same code as the Advanced example
- in Next.js
13.0.4
I´m getting the same error on goBack(). Also getting childRefs[currentIndex].current.swipe is not a function on swipe( 'left' ) or swipe( 'right' ).
This seams to be a bug when using Next JS specifically. Unfortunately, support for Next JS is not something I have had in mind when creating this module. If anyone manages to find a fix please submit a PR.