#Suppress Next 15 Errors

1 messages · Page 1 of 1 (latest)

copper steepleBOT
#

🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord

🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize

✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)

midnight shard
#
<div suppressHydrationWarning={true}>
  {/* content that might differ between server and client */}
</div>
midnight shard
#

it only suppresses hygration warnings. not any other warnings

lavish plinth
#

I'm tempted to say no... maybe you can ask for it in an Issue but not sure if it would be considered or not.
The line that creates the error overlay is here: next/src/client/components/react-dev-overlay/app/ReactDevOverlay.tsx and to have them not show you'd need the initialDisplayState to be 'hidden', I think.
When you click the 'x' inside the indicator, it sets the displayState to hidden here, but I don't see any configuration or env vars that might change the default initial state.

midnight shard
#

There is no way to do that.

There are some changes in next 15, and you need to modify the code for it.

I think you need to await headers

#

Yup, I guess you've to do that only.

#

incrementally adopt next 15

sharp pendantBOT
# midnight shard There is no way to do that. There are some changes in next 15, and you need to ...
Mark an answer as the solution

To mark the message as solution:

  1. Hover over the message you want to mark as the solution.
  2. Right click the message Click the three dots that appear on the right side.
  3. You'll see a menu which should have the option of Apps. Hover Over it.
  4. Click on the Mark as Answer option.
    Note: If you don't see the Mark as Answer option or Apps option, restart/update your discord app!
midnight shard
#

Mark solution please

#

Mark the message which resolved your issue

copper steepleBOT