Sanity Library Reference Docs
    Preparing search index...
    • Returns the applications available in the dashboard.

      Suspends until the dashboard publishes its application list; a cleared list is empty. Throws a TopicError to the nearest error boundary when the dashboard fails to load applications.

      Returns DashboardApplication[]

      function Applications() {
      const applications = useApplications()
      return applications.map((application) => <div key={application.id}>{application.title}</div>)
      }