Removing me as null placeholder, destructuring will now handle undefined as expected

This commit is contained in:
James Barnsley
2020-11-20 22:17:45 +13:00
parent 7b60f53fcd
commit 633ced05d7

View File

@ -98,15 +98,12 @@ let state = {
config: {},
},
lastfm: {
me: null,
authorization_url: 'https://jamesbarnsley.co.nz/iris/auth_lastfm.php',
},
genius: {
me: null,
authorization_url: 'https://jamesbarnsley.co.nz/iris/auth_genius.php',
},
spotify: {
me: null,
autocomplete_results: {},
authorization_url: 'https://jamesbarnsley.co.nz/iris/auth_spotify.php',
},