Sanity App SDK
    Preparing search index...
    • Function

      Returns the active releases for the current project, represented as a list of release documents.

      Parameters

      Returns ReleaseDocument[]

      The active releases for the current project.

      import {useActiveReleases} from '@sanity/sdk-react'

      const activeReleases = useActiveReleases()