React.Lazy is showing a warning that won't go away

Im not sure why this is showing this warning as this is the correct way to use React.lazy. I've used CMD + N to disable all inspections but that doesn't seem to help. Any ideas?

EDIT: I've just switched my JS language version from React JSX to Flow and that appears to have fixed it. Still strange though.


0

Please sign in to leave a comment.