[Archive] Invalid hook call error in NextJs Web3Auth Modal SDK

:classical_building: Archived Content from Web3Auth Community

This topic was originally posted by tahir on 1/12/2024.
This content has been migrated from our previous community forum to preserve valuable discussions.



Screenshot at Jan 12 12-02-17
Screenshot at Jan 12 12-02-17835×530 165 KB

Giving Invalid hook error, If I disabled the useEffect then this error goes.

How to fix?

@tahir Welcome Aboard!

Please refer to this thread where the issue has been addressed:

I can not update my node_modules it can create many conflicts in current application.
It is big project.

Is there any way to fix it?
May be older version of Web3Auth dependencies?