useEffect that's responsible for checking over file limit
Experiencing a gnarly error.
Inside the hook ~ useSubscription ~ My code isn't getting past:
(!filesSnapshot || hasActiveMembership === null) return;
Therefore, my code isn't limiting the upload of files on FREE TIER. And now I am getting the error `Warning: React has detected a change in the order of Hooks called by %s. This will lead to BUGS and errors if not fixed.`
Thank you for your help in advance!
6
36 comments
Sophia Castillo
4
useEffect that's responsible for checking over file limit
University of Code
skool.com/universityofcode
You'll get Exclusive Lessons & Content, Badass Community Support & More here to elevate as a Dev!
Leaderboard (30-day)
Powered by