diff --git a/.vscode/settings.json b/.vscode/settings.json index 0aeb337..ad2fa71 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -3,6 +3,6 @@ "editor.rulers": [100], "editor.tabSize": 2, "editor.codeActionsOnSave": { - "source.fixAll.tslint": true + "source.fixAll.tslint": "explicit" } } diff --git a/src/components/PlaylistSelection.tsx b/src/components/PlaylistSelection.tsx index bd7bc5b..eda1cbe 100644 --- a/src/components/PlaylistSelection.tsx +++ b/src/components/PlaylistSelection.tsx @@ -117,7 +117,8 @@ const PlaylistSelection: React.FunctionComponent = (props: IProps) => { }} > - {playlist.images.length > 0 && ( + {/* Spotify has recently changed their responses - playlist.images is now nullable */} + {playlist.images !== null && playlist.images.length > 0 && (