universal-tilt-js / react-universal-tilt

🎆 universal-tilt.js implementation for React component
https://universal-tilt-js.github.io/react-universal-tilt/
MIT License
4 stars 1 forks source link

The destroy method is not working. #43

Closed 74flame47 closed 3 years ago

74flame47 commented 5 years ago

Ok, first of all I absolutely love this package! Great job developing it! I was looking for something like this for my site. Now I'm still fairly new to react development so I can be missing something obvious but there is an issue using react-router-dom links when react-universal-tilt is active. The linked pages would not load because of this error:

"TypeError: Cannot read property 'destroy' of undefined"

When I reload the page, its fine. I really like this package so any pointers of tips would be deeply appreciated! error

JB1905 commented 5 years ago

Hi! I fixed the error. The update will be available today. Thanks!

JB1905 commented 5 years ago

v1.3.1 with bug fix is available 🙂

74flame47 commented 5 years ago

Hey sorry for the late reply but it works!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! You are freaking amazing man! You are helping make my dream a reality!!!!!!! I hope you find money!