@stigg/react-sdk 4.7.0 → 4.7.1

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "4.7.0",
2
+ "version": "4.7.1",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -171,7 +171,8 @@ export function PlanOffering({
171
171
 
172
172
  useEffect(() => {
173
173
  setSelectedTierByFeature(getSelectedTier(plan, billingPeriod, currentSubscription, selectedTierByFeature));
174
- }, [billingPeriod, currentSubscription, plan, selectedTierByFeature]);
174
+ // eslint-disable-next-line react-hooks/exhaustive-deps
175
+ }, [billingPeriod, currentSubscription, plan]);
175
176
 
176
177
  const onPlanButtonClick = (intentionType: SubscribeIntentionType) => {
177
178
  const billableFeatures: BillableFeature[] = Object.keys(selectedTierByFeature).map((featureId) => ({