I encountered an error message from ESLint that says:
Component definition is missing display name
This error occurred in the following code snippet:
const Disqus = dynamic(() => import('@/components/blog/disqus'), {
ssr: false,
loading: () => (
<div className="text-center">
<Loader />
</div>
),
})
The issue lies specifically with the arrow function used in the loading
property on line 3.
Despite my attempts to address this based on the documentation, I have not been successful in resolving it.
If you have any suggestions or advice to offer, please share as I am reluctant to disable the rule unless absolutely necessary. Thank you!