@sanity/personalization-plugin 2.2.1 → 2.3.0-growthbook.2

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
@@ -6420,7 +6420,7 @@ const useAddExperimentAction = (props) => {
6420
6420
  const { onChange, active, experimentId, experimentNameOverride, variantNameOverride } = props, handleClearAction = useCallback(() => {
6421
6421
  const activeId = ["active"], experiment = [experimentId], variants = [`${variantNameOverride}s`];
6422
6422
  onChange([set(!active, activeId), unset(experiment), unset(variants)]);
6423
- }, [onChange, active, experimentId, experimentNameOverride, variantNameOverride]);
6423
+ }, [onChange, active, experimentId, variantNameOverride]);
6424
6424
  return {
6425
6425
  title: `Remove ${experimentNameOverride}`,
6426
6426
  type: "action",