Skip to content

Commit 171dc2f

Browse files
committed
fix(experimental/live): QueryParams cannot be a promise
1 parent cf21754 commit 171dc2f

File tree

1 file changed

+1
-1
lines changed
  • packages/next-sanity/src/experimental

1 file changed

+1
-1
lines changed

packages/next-sanity/src/experimental/live.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ async function sanityCachedFetch<const QueryString extends string>(
9999
*/
100100
export interface SanityFetchOptions<QueryString extends string> {
101101
query: QueryString
102-
params?: QueryParams | Promise<QueryParams>
102+
params?: QueryParams
103103
/**
104104
* @defaultValue 'published'
105105
*/

0 commit comments

Comments
 (0)