Skip to content

Conversation

@jbeard4
Copy link
Member

@jbeard4 jbeard4 commented Oct 16, 2025

No description provided.

@jbeard4 jbeard4 temporarily deployed to yourpeer-fix-node-remov-oun5so October 16, 2025 04:05 Inactive
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting

Comment on lines 45 to +60
useEffect(() => {
function poll() {
// do not translate the title, in order to prevent Google Translate from breaking the page
setNoTranslateOnTitle();

Choose a reason for hiding this comment

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

P1 Badge Reapply translate="no" when <title> is regenerated

The new setNoTranslateOnTitle() is called only once from the useEffect with an empty dependency list. In Next.js, client-side navigation replaces the <title> element on every route change, so the translate="no" attribute you set here is removed after the first navigation. When Google Translate runs on the subsequent title nodes, the original Node.removeChild error can recur. Consider re-running setNoTranslateOnTitle() whenever the title changes (e.g., via router events or a MutationObserver) so the fix persists across navigations.

Useful? React with 👍 / 👎.

@jbeard4 jbeard4 temporarily deployed to yourpeer-fix-node-remov-oun5so October 16, 2025 04:14 Inactive
@jbeard4 jbeard4 temporarily deployed to yourpeer-fix-node-remov-oun5so October 16, 2025 04:16 Inactive
@shakilhossain1
Copy link
Collaborator

image @jbeard4 I'm having this error

@adambard1
Copy link
Contributor

This error is still happening on Prod @shakilhossain1 @jbeard4
Steps to recreate

  1. Select Russian
  2. Click Explore services
  3. filter for shelter
  4. Click more details for The Door Bronx
Screenshot 2025-12-12 at 8 29 06 AM

@jbeard4
Copy link
Member Author

jbeard4 commented Dec 24, 2025

@shakilhossain1 Can you please check this and resolve merge conflicts?

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.

4 participants