Skip to content

Conversation

@thevladbog
Copy link
Contributor

@thevladbog thevladbog commented Oct 28, 2025

Replace direct i18n() function calls with the useTranslation hook pattern across CookieConsent component


I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=ru


closes #341

@thevladbog thevladbog marked this pull request as ready for review October 28, 2025 21:25
@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@korvin89 korvin89 changed the title feat(CookieConsent): use useTranslation hook instead of direct i18n calls refactor(CookieConsent): use useTranslation hook instead of direct i18n calls Oct 29, 2025
@korvin89 korvin89 merged commit c363e3d into gravity-ui:main Oct 29, 2025
4 checks passed
@thevladbog thevladbog deleted the 341-use-hook-instead-direct-call-to-i18n branch October 29, 2025 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CookieConsent: use i18n.useTranslation hook

3 participants