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