Skip to content

fix(ui): ON-5532 page freezing when language is changed#2501

Merged
lemilonkh merged 1 commit intodevelopfrom
fix/ON-5532-language-switch-freeze
Apr 21, 2026
Merged

fix(ui): ON-5532 page freezing when language is changed#2501
lemilonkh merged 1 commit intodevelopfrom
fix/ON-5532-language-switch-freeze

Conversation

@lemilonkh
Copy link
Copy Markdown
Contributor

The useEffect hooks inside of our custom useTranslation hook in i18n/client.ts were causing circular state updates. The language changes without them when a different one was selected, so they weren't necessary in the first place.

The useEffect hooks inside of our custom useTranslation hook were
causing circular state updates. The language changes without them when a
different one was selected, so they weren't necessary in the first
place.
Copy link
Copy Markdown
Contributor

@cephaschapa cephaschapa left a comment

Choose a reason for hiding this comment

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

Great thanks 👍

@lemilonkh lemilonkh merged commit 73ea040 into develop Apr 21, 2026
8 checks passed
@lemilonkh lemilonkh deleted the fix/ON-5532-language-switch-freeze branch April 21, 2026 14:25
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