fixed stats display, and fixed react warning for keys
This commit is contained in:
parent
f77466b8a2
commit
c95890ead4
3 changed files with 42 additions and 29 deletions
|
|
@ -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)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue