Skip to content

Commit

Permalink
remove stitcher from how to listen options (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
kimlarocca authored Aug 25, 2023
1 parent 3d8efbd commit 5d9bcd4
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions utilities/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ export const playServices = [
icon: 'overcast',
url: 'https://overcast.fm/itunes152249110/radiolab'
},
{
name: 'Stitcher',
icon: 'stitcher',
url: 'https://www.stitcher.com/podcast/wnycs-radiolab'
},
{
name: 'NPR One',
icon: 'nprone',
Expand Down Expand Up @@ -62,15 +57,15 @@ export const playServices = [
}
]

export const yearFilterOptions = [{
export const yearFilterOptions = [ {
year: 'All'
}]
} ]
const yearfilterStart = 2007
const yearfilterEnd = new Date().getFullYear()
Array.from(new Array(yearfilterEnd - yearfilterStart + 1), (x, i) =>
yearFilterOptions.push({
'year': String(yearfilterEnd - i)
})
Array.from( new Array( yearfilterEnd - yearfilterStart + 1 ), ( x, i ) =>
yearFilterOptions.push( {
'year': String( yearfilterEnd - i )
} )
)
//console.log('yearFilterOptions = ', yearFilterOptions)

Expand Down

0 comments on commit 5d9bcd4

Please sign in to comment.