We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1e6f47 commit fa78077Copy full SHA for fa78077
src/hooks/useTokenPrices.tsx
@@ -3,7 +3,7 @@ const X_API_Key = process.env.NEXT_PUBLIC_X_API_KEY;
3
const fetcher = async (url : string) => {
4
const response = await fetch(url, {
5
headers: {
6
- 'x-api-key': X_API_Key,
+ 'x-api-key': X_API_Key ?? '',
7
},
8
});
9
if (!response.ok) {
0 commit comments