Skip to content

Commit

Permalink
fix calculator (#8590)
Browse files Browse the repository at this point in the history
* fix calculator

* oops

* fix old calculator
  • Loading branch information
raquelmsmith authored May 31, 2024
1 parent 763c513 commit c432cb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Pricing/PricingCalculator/Tabbed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ const TabContent = ({ activeProduct, addons, setAddons }) => {
key={addon.type}
addons={addons}
setAddons={setAddons}
volume={volume}
volume={volume + parseInt(activeProduct.freeLimit.replace(/,/g, ''))}
{...addon}
/>
</li>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Pricing/Products.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const useProducts = () => {
slug: 'product-analytics',
freeLimit: '1,000,000',
denomination: 'event',
price: '0.000248',
price: '0.00005',
volume: eventNumber,
calcVolume: <>{eventNumber.toLocaleString()}</>,
calcCost: <>{productAnalyticsCost.toLocaleString()}</>,
Expand Down

0 comments on commit c432cb7

Please sign in to comment.