fixed stats display, and fixed react warning for keys

This commit is contained in:
Leoh 2021-10-13 14:10:54 +05:30
parent f77466b8a2
commit c95890ead4
3 changed files with 42 additions and 29 deletions

View file

@ -26,7 +26,6 @@ export async function getStats(username: string, credentials: string){
"x-api-key": credentials,
},
})
console.log(response)
console.log("stats above")
console.log("stats") //can't print stats from here since the response is still an unresolved promise
return (response)
}