Skip to content

[Spotify Player] TypeError in Spotify Player when selecting a device #17221

@collinbell

Description

@collinbell

Extension

https://www.raycast.com/mattisssa/spotify-player

Raycast Version

1.92.1

macOS Version

No response

Description

Error:

TypeError: Cannot read properties of undefined (reading 'map')

F8:devices.tsx:19:85

---
16: import { transferMyPlayback } from "./api/transferMyPlayback";
17: 
18: function Devices() {
19:   const { myDevicesData, myDevicesError, myDevicesIsLoading, myDevicesRevalidate } = useMyDevices();
20:   const { closeWindowOnAction } = getPreferenceValues<{ closeWindowOnAction?: boolean }>();
21: 
22:   if (myDevicesError) {
---

devices.js:44:1343
    at withAccessToken()
    at G0

Steps To Reproduce

Command "select device" - something went wrong

Current Behaviour

No response

Expected Behaviour

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingextensionIssues related to one of the extensions in the Storeextension: spotify-playerIssues related to the spotify-player extension

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions