Skip to content

Avatarless user crashes app #10

@ionwyn

Description

@ionwyn

If a Spotify user account has no avatar, logging in will cause the site to crash.

This is because the site tries to take a profile picture from the returned JSON that the API calls. The API returns JSON without the key for user's image. Component tries to render the image, bug the image is undefined

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions