Next.js Discord

Discord Forum

Suppress specific warning in dev mode

Answered
Kab posted this in #help-forum
Open in Discord
Avatar
KabOP
Hi all, currently migrating a CRA app to Next.js for better SEO.
I'm getting the following warning in development mode: Warning:NaNis an invalid value for theleftcss style property. I know what's causing the warning: a left: 100%; CSS style buried deep within a PrimeReact component (which it would be a headache to change).
Is there a way to suppress this specific warning? Or, alternatively, if you believe there's an easy fix, happy to hear it, though since I understand what's causing the issue I'm happy to just suppress the warning.
Thank you!
Answered by Kab
No longer relevant - filed this as an issue with the PrimeReact team, who promptly fixed it 👍
View full answer

1 Reply

Avatar
KabOP
No longer relevant - filed this as an issue with the PrimeReact team, who promptly fixed it 👍
Answer