I want to conditionally import react-devtools based on an environment variable but eslint says that I can\'t import in the body of the module when I try to import react-dom