@ohhwells/bridge 0.1.139-next.375 → 0.1.139-next.376
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.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -19085,7 +19085,12 @@ function AiPricingCardOverlay({
|
|
|
19085
19085
|
index: active.index,
|
|
19086
19086
|
pending,
|
|
19087
19087
|
error,
|
|
19088
|
-
onAddTier: () =>
|
|
19088
|
+
onAddTier: () => {
|
|
19089
|
+
const newIndex = pricingCardCount(activeEntry.tree);
|
|
19090
|
+
void runMutation(active.sectionId, addPricingTier).then((applied) => {
|
|
19091
|
+
if (applied) setActive({ sectionId: active.sectionId, index: newIndex });
|
|
19092
|
+
});
|
|
19093
|
+
},
|
|
19089
19094
|
onRemoveTier: () => {
|
|
19090
19095
|
void runMutation(active.sectionId, (tree) => removePricingTier(tree, active.index)).then(
|
|
19091
19096
|
(applied) => {
|