Closed Aagam41 closed 2 years ago
Describe the bug Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
To Reproduce Steps to reproduce the behavior:
Expected behavior Hooks should be called inside FUNCTIONAL COMPONENTS
Screenshots Issue is on line number 35, where useEffect is called inside useMemo. \
How did you solve this?
Describe the bug Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
To Reproduce Steps to reproduce the behavior:
Expected behavior Hooks should be called inside FUNCTIONAL COMPONENTS
Screenshots Issue is on line number 35, where useEffect is called inside useMemo. \