Sanity Library Reference Docs
    Preparing search index...
    • Returns the base path for an application.

      Suspends until Dashboard publishes the path and throws a TopicError when the application is unknown.

      Returns string

      function ApplicationBasePath() {
      const basePath = useApplicationBasePath()
      return <span>{basePath}</span>
      }