Skip to content

Commit a09dd34

Browse files
committed
fix: serve swap-stats.json from github
1 parent 351e320 commit a09dd34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/hooks/useSwapStats.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import { ChainId } from "../constants/networks"
44
import { useCallback } from "react"
55
import { useQuery } from "@tanstack/react-query"
66

7-
const swapStatsURI = "https://ipfs.saddle.exchange/swap-stats.json"
7+
const swapStatsURI =
8+
"https://raw.githubusercontent.com/saddle-finance/ipfs-data/refs/heads/master/swap-stats.json"
89

910
type PoolStats = {
1011
oneDayVolume: string

0 commit comments

Comments
 (0)