@sanity/ui 4.0.0-static.32 → 4.0.0-static.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -485,8 +485,10 @@ function getGlobalScope() {
485
485
  const globalScope = getGlobalScope();
486
486
  function createGlobalScopedContext(key2, defaultValue) {
487
487
  const symbol = Symbol.for(key2);
488
- if (typeof document > "u")
489
- return createContext(defaultValue);
488
+ if (typeof document > "u") {
489
+ const context = createContext(defaultValue);
490
+ return context.displayName = key2, context;
491
+ }
490
492
  const symbolMap = globalScope;
491
493
  return symbolMap[symbol] = symbolMap[symbol] || createContext(defaultValue), symbolMap[symbol];
492
494
  }