Skip to content

Commit

Permalink
chore: updating more types to be beta
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanl17 committed Feb 10, 2025
1 parent fb1bfcb commit 02a379b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sanity/src/core/perspective/usePerspective.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import {PerspectiveContext} from 'sanity/_singletons'
import {type PerspectiveContextValue} from './types'

/**
* Until these types are on npm: https://github.com/facebook/react/blob/0bc30748730063e561d87a24a4617526fdd38349/compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Options.ts#L39-L122
* @beta
* blah blah blah
*/
export function usePerspective(): PerspectiveContextValue {
const context = useContext(PerspectiveContext)
Expand Down

0 comments on commit 02a379b

Please sign in to comment.