Last active
May 23, 2023 01:47
-
-
Save dineshigdd/f22a9e040647f4ace6237e06584b8df8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { isLoading, isError, data, error } = useQuery( { queryKey: ['todos'], queryFn: getTodos }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment