We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this is my code: const fetchGifs = async () => { try { setLoading(true); const { data } = await gf.trending({ limit: 10 }); setGifs(data); console.log(data) } catch (error) { console.error("Error fetching GIFs:", error); } finally { setLoading(false); } }; when it run, error: Error fetching GIFs: FetchError: Failed to fetch
const fetchGifs = async () => { try { setLoading(true); const { data } = await gf.trending({ limit: 10 }); setGifs(data); console.log(data) } catch (error) { console.error("Error fetching GIFs:", error); } finally { setLoading(false); } };
Error fetching GIFs: FetchError: Failed to fetch
The text was updated successfully, but these errors were encountered:
@Zombie92-v this can happen for a few reasons, make sure you have a valid api key. Maybe you can look at the network request to get more information
Sorry, something went wrong.
No branches or pull requests
this is my code:
const fetchGifs = async () => { try { setLoading(true); const { data } = await gf.trending({ limit: 10 }); setGifs(data); console.log(data) } catch (error) { console.error("Error fetching GIFs:", error); } finally { setLoading(false); } };
when it run, error:
Error fetching GIFs: FetchError: Failed to fetch
The text was updated successfully, but these errors were encountered: