Skip to content

Commit

Permalink
fix: resolving tsdoc parse issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanl17 committed Feb 10, 2025
1 parent ecc84a3 commit eb9357c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions packages/sanity/src/core/perspective/usePerspective.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@ import {type PerspectiveContextValue} from './types'
* React hook that returns the current studio perspective and perspective stack.
*
* @beta
* @returns See {@link PerspectiveContextValue}
* @example Reading the current perspective stack
* ```ts
* function MyComponent() {
* const {perspectiveStack} = usePerspective()
* // ... do something with the perspective stack ...
* }
* ```
*/
export function usePerspective(): PerspectiveContextValue {
const context = useContext(PerspectiveContext)
Expand Down
2 changes: 1 addition & 1 deletion packages/sanity/src/core/releases/store/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export type ReleaseFinalDocumentState = {
}

/**
*@beta
* @beta
*/
export interface ReleaseDocument extends SanityDocument {
/**
Expand Down

0 comments on commit eb9357c

Please sign in to comment.