Suppress specific warning in dev mode
Answered
Kab posted this in #help-forum
KabOP
Hi all, currently migrating a CRA app to Next.js for better SEO.
I'm getting the following warning in development mode:
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!
I'm getting the following warning in development mode:
Warning:
NaNis an invalid value for the
leftcss 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 ðŸ‘
1 Reply
KabOP
No longer relevant - filed this as an issue with the PrimeReact team, who promptly fixed it ðŸ‘
Answer