Skip to content

Commit

Permalink
perf(ui): Load avatar URLs with low priority
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <[email protected]>
  • Loading branch information
ChristophWurst authored and backportbot[bot] committed Feb 20, 2025
1 parent ed087d6 commit 837ba5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/service/AvatarService.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const fetchAvatarUrl = (email) => {
email,
})

return Axios.get(url)
return Axios.get(url, { adapter: 'fetch', fetchOptions: { priority: 'low' } })
.then((resp) => resp.data)
.then((avatar) => {
if (avatar.isExternal) {
Expand Down

0 comments on commit 837ba5a

Please sign in to comment.