Skip to content

Commit 5e9ad18

Browse files
authored
Update useTokenPrices.tsx
testapikey replaced
1 parent fd8d817 commit 5e9ad18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hooks/useTokenPrices.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import useSWR from 'swr';
2-
2+
const X_API_Key = process.env.NEXT_PUBLIC_X_API_KEY;
33
const fetcher = async (url : string) => {
44
const response = await fetch(url, {
55
headers: {
6-
'x-api-key': 'TestAPIKeyDontUseInCode',
6+
'x-api-key': X_API_Key,
77
},
88
});
99
if (!response.ok) {

0 commit comments

Comments
 (0)