skip to Main Content

Reactjs – Why it shows error here? Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions

Unexpected Application Error! Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object import { useQuery } from "@tanstack/react-query";…

VIEW QUESTION
Back To Top
Search