Next.js Discord

Discord Forum

Minified React Error #418 on iOS

Unanswered
German Shepherd Dog posted this in #help-forum
Open in Discord
German Shepherd DogOP
My site is receiving #418 hydration errors relatively frequently, and only on iOs. I read that a potential reason for this could be iOS formatting numbers into phone numbers and similar and I've implemented the suggested solution, adding this to the metadata of my layout.js file:

export async function generateMetadata({ params, searchParams }, parent) {

  return {
    title: `My Page Title`,
    keywords: [
      "My",
      "Keywords"
    ],
    other: {"format-detection": "telephone=no, date=no, email=no, address=no"}
  };
}


Wondering if something is wrong with how I've implemented it, or if there is potentially another issue, since the issue still persists.

0 Replies