@sanity/ui 2.1.3 → 2.1.4-canary.0

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.mjs CHANGED
@@ -6289,7 +6289,9 @@ function ToastProvider(props) {
6289
6289
  id,
6290
6290
  params: { ...params, duration }
6291
6291
  }
6292
- ])), toastsRef.current[id] && (clearTimeout(toastsRef.current[id].timeoutId), delete toastsRef.current[id]), toastsRef.current[id] = { timeoutId: setTimeout(dismiss, duration) }, id;
6292
+ ])), toastsRef.current[id] && (clearTimeout(toastsRef.current[id].timeoutId), delete toastsRef.current[id]), toastsRef.current[id] = {
6293
+ timeoutId: setTimeout(dismiss, duration)
6294
+ }, id;
6293
6295
  } }), []);
6294
6296
  return useEffect(
6295
6297
  () => () => {