Skip to content

Commit

Permalink
Revert "Added temp filter to remove next versions from dropdowns (#10)…
Browse files Browse the repository at this point in the history
…" (#12)

This reverts commit d619c5e.

Signed-off-by: Vincenzo Scamporlino <[email protected]>
  • Loading branch information
vinzscam authored Feb 1, 2023
1 parent 9af7339 commit c32d595
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/hooks/fetch-release-versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ export const useFetchReleases = ({ packageName }) => {

const _releases = Object.entries(response)
.map(([version, value]) => ({ version, ...value }))
.filter(({ version }) => version.includes('-next') === false) // TODO(hhogg): remove this temp filter
.sort((a, b) => compare(a.version, b.version))

setReleases(_releases)

setIsLoading(false)
Expand Down

0 comments on commit c32d595

Please sign in to comment.