Skip to content

Commit

Permalink
Fixes calculating
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorArthur committed Nov 7, 2024
1 parent 0ba6d86 commit d60f81f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions islands/PriceCalculatorIsland.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ export default function PriceCalculatorIsland() {
<div className="flex items-center gap-2">
<span>Eficiência média</span>
<button className="text-gray-400 hover:text-white">
ℹ️

</button>
</div>
<span className="text-emerald-400">
Expand Down Expand Up @@ -623,7 +623,7 @@ function calculateScenario(pageviews: number, infrastructureType: string) {
const { bandwidth: bandwidthCost, request: requestCost } =
EFFICIENTY_COSTS[infrastructureType];

const bandwidth = pageviews * bandwidthCost * 0.025;
const bandwidth = pageviews * bandwidthCost * 0.005;
const request = pageviews * requestCost * 0.0004;
const total = bandwidth + request;

Expand Down

0 comments on commit d60f81f

Please sign in to comment.