UNPKG

sanity-plugin-mux-input

Version:

An input component that integrates Sanity Studio with Mux video encoding/hosting service.

9 lines (6 loc) 296 B
// As it's required to specify the API Version this custom hook ensures it's all using the same version import {useClient as useSanityClient} from 'sanity' export const SANITY_API_VERSION = '2024-03-05' export function useClient() { return useSanityClient({apiVersion: SANITY_API_VERSION}) }