Skip to content

[MKT-883]feat/Change Price Shown in S3 LP#1947

Merged
internxt-yu merged 2 commits into
mainfrom
feat/change-price-shown-in-s3-LP
Jun 25, 2026
Merged

[MKT-883]feat/Change Price Shown in S3 LP#1947
internxt-yu merged 2 commits into
mainfrom
feat/change-price-shown-in-s3-LP

Conversation

@internxt-yu

Copy link
Copy Markdown
Contributor

changed shown price for US and Canada users in PriceCardSection using currency.service.

@internxt-yu internxt-yu requested a review from jaaaaavier June 25, 2026 08:41
@internxt-yu internxt-yu self-assigned this Jun 25, 2026
@internxt-yu internxt-yu added the enhancement New feature or request label Jun 25, 2026
@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
website Ready Ready Preview, Comment Jun 25, 2026 10:16am

@jaaaaavier jaaaaavier left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't you try something similar to what we have at https://github.com/internxt/website/blob/main/src/components/home/components/heroSection/TitleAndOnePlan.tsx

const [currency, setCurrency] = useState(‘€’);
const [currencyValue, setCurrencyValue] = useState(‘eur’);

useEffect(() => {
  currencyService.filterCurrencyByCountry().then(({ currency, currencyValue }) => {
    setCurrency(currency);
    setCurrencyValue(currencyValue);
  });
}, []);

What you're proposing could cause re-renders and multiple calls, which might result in performance issues.

}

loadCurrency();
console.log("el pais es:" + currencyService.getCountry());

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never leave console.log statements in your code

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@internxt-yu internxt-yu merged commit 51a040a into main Jun 25, 2026
9 of 10 checks passed
@internxt-yu internxt-yu deleted the feat/change-price-shown-in-s3-LP branch June 25, 2026 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants