mirror of
https://github.com/vercel/commerce.git
synced 2025-05-14 13:47:49 +00:00
Preview of document types
This commit is contained in:
parent
94b54cf6ed
commit
028db7375d
@ -6,7 +6,7 @@ import { suspend } from 'suspend-react';
|
|||||||
const LiveQueryProvider = dynamic(() => import('next-sanity/preview'));
|
const LiveQueryProvider = dynamic(() => import('next-sanity/preview'));
|
||||||
|
|
||||||
// suspend-react cache is global, so we use a unique key to avoid collisions
|
// suspend-react cache is global, so we use a unique key to avoid collisions
|
||||||
const UniqueKey = Symbol('lib/sanity.client');
|
const UniqueKey = Symbol('@/lib/sanity/sanity.client');
|
||||||
|
|
||||||
export default function PreviewProvider({
|
export default function PreviewProvider({
|
||||||
children,
|
children,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user