Fix: add window check in store for dev tools
Fix: add window check in store for dev tools

The server was failing in prod because of the commented out lines, so this
fixes that

scalable-react/scalable-react-typescript-boilerplate,scalable-react/scalable-react-typescript-boilerplate,scalable-react/scalable-react-typescript-boilerplate