Fix the guard against a missing devToolsExtension
Fix the guard against a missing devToolsExtension

The existing logic raises an error if the extension is not available in
a development environment

CodingZeal/react-boilerplate,CodingZeal/react-boilerplate