Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. H

    Custom usefetcher invalid hook error in nextjs typescript

    I am trying to make a custom usefetcher in my Nextjs18 typescript project but it keeps giving me the "Invalid hook call. Hooks can only be called inside of the body of a function component." error. Here is the code: import { Axios as request } from "./axios"; import { AxiosRequestConfig } from...
Back
Top Bottom