Skip to content

Commit

Permalink
fix: createClient from @sanity/client/stega is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan committed Apr 17, 2024
1 parent f29263d commit 4d0a03f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/stega/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,8 @@ export * from './shared'
*/
export const requester = originalRequester

/** @public */
export const createClient = exp.createClient
/**
* @deprecated -- Use `import {createClient} from '@sanity/client'` instead
* @public
*/
export const createClient = originalCreateClient

0 comments on commit 4d0a03f

Please sign in to comment.