NYPL / staff-picks

1 stars 3 forks source link

Selected filters throws type error warning on initial click #194

Closed gkallenberg closed 6 years ago

gkallenberg commented 6 years ago

Load /books-music-movies/recommendations/best-books/staff-picks and choose one of the sidebar filters. A warning is shown in console once on the initial filter, but not when selecting additional filters or clearing filters.

Warning: Failed prop type: Invalid prop selectedFilters[0] of type string supplied to Sidebar, expected object. in Sidebar (created by Main) in Main (created by WrapperComponent) in WrapperComponent

gkallenberg commented 6 years ago

Am not seeing this error currently on dev-www or qa-www -- but am seeing it when using localhost.

EdwinGuzman commented 6 years ago

I, too, am not seeing these errors on qa and the latest is deployed. I think we can close this.