Reformat code with Prettier's new rules.
This commit is contained in:
@@ -20,11 +20,11 @@ const Progress = (props) => {
|
||||
|
||||
useEffect(() => {
|
||||
const callbackEndpoint = baseUrl(
|
||||
`/api/lastfm/link/callback?uid=${localStorage.getItem('userId')}`
|
||||
`/api/lastfm/link/callback?uid=${localStorage.getItem('userId')}`,
|
||||
)
|
||||
const callbackUrl = `${window.location.origin}${callbackEndpoint}`
|
||||
openedTab.current = openInNewTab(
|
||||
`https://www.last.fm/api/auth/?api_key=${config.lastFMApiKey}&cb=${callbackUrl}`
|
||||
`https://www.last.fm/api/auth/?api_key=${config.lastFMApiKey}&cb=${callbackUrl}`,
|
||||
)
|
||||
}, [])
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ export const SelectTheme = (props) => {
|
||||
themeChoices.push(
|
||||
...Object.keys(themes).map((key) => {
|
||||
return { id: key, name: themes[key].themeName }
|
||||
})
|
||||
}),
|
||||
)
|
||||
themeChoices.push({
|
||||
id: helpKey,
|
||||
|
||||
Reference in New Issue
Block a user