referrals complete
This commit is contained in:
parent
a97329c121
commit
e47ed1380c
|
|
@ -3,9 +3,9 @@
|
|||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev -p 3031",
|
||||
"dev": "next dev -p 3030",
|
||||
"build": "next build",
|
||||
"start": "next start -p 3031",
|
||||
"start": "next start -p 3030",
|
||||
"lint": "next lint"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ export default function ReferralSection({
|
|||
const fetchGames = async () => {
|
||||
setLoading(true);
|
||||
try {
|
||||
const response = await axios.get(`https://api.duelfi.io/v1/get_referrals.php?address=${wallet}`);
|
||||
const response = await axios.get(`${API_URL}get_referrals.php?address=${wallet}`);
|
||||
const gameData = response.data || [];
|
||||
setGamesHistory(gameData);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user