better information when not enough data on PlayerSideInfo

This commit is contained in:
2021-11-22 11:08:17 +01:00
parent 4154b988fe
commit 6f6834e7ea
2 changed files with 27 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ export const GetMatches = async () => {
return res.data
} catch (err) {
// TODO: Error handling
console.log(err.response.status, err.response.statusText)
// console.log(err.response.status, err.response.statusText)
}
}
@@ -109,6 +109,7 @@ export const GetPlayerMeta = async (player_id, limit = 4) => {
const res = await axios.get(`${API_URL}/player/${player_id}/meta/${limit}`)
if (res.status === 200) {
// console.log(res.data)
return res.data
}
} catch (err) {