Skip to content

fix: import translation hook. - #1214

Merged
siiick merged 1 commit into
mainfrom
fix/i18n-import
Nov 24, 2025
Merged

fix: import translation hook.#1214
siiick merged 1 commit into
mainfrom
fix/i18n-import

Conversation

@siiick

@siiick siiick commented Nov 24, 2025

Copy link
Copy Markdown
Contributor

Fix a rehydration error in analytics page.


Note

Switches analytics layout to use react-i18next useTranslation and localizes the legacy link label.

  • Analytics layout (packages/app-builder/src/routes/_builder+/_analytics+/analytics._layout.tsx):
    • Replace direct i18next t import with react-i18next useTranslation hook (useTranslation(handle.i18n)), and use t for the legacy link label t('analytics:legacy-analytics-link').

Written by Cursor Bugbot for commit ea80993. This will update automatically on new commits. Configure here.

@ChibiBlasphem ChibiBlasphem 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.

lgtm

@siiick
siiick merged commit d340de6 into main Nov 24, 2025
5 of 6 checks passed
@siiick
siiick deleted the fix/i18n-import branch November 24, 2025 09:26
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.

2 participants