Change avatar provider
This commit is contained in:
parent
7c136a507c
commit
60df8bac2c
@ -42,7 +42,7 @@ export const usePlayerDataStore = create<PlayerDataState>()((set) => ({
|
|||||||
id: playerId,
|
id: playerId,
|
||||||
isLoading: false,
|
isLoading: false,
|
||||||
pp: data.pp,
|
pp: data.pp,
|
||||||
avatar: data.avatar || data.profilePicture,
|
avatar: `https://cdn.scoresaber.com/avatars/${playerId}.jpg`,
|
||||||
globalPos: data.rank,
|
globalPos: data.rank,
|
||||||
countryRank: data.countryRank,
|
countryRank: data.countryRank,
|
||||||
country: data.country,
|
country: data.country,
|
||||||
|
Reference in New Issue
Block a user