Fix local development and use correct CSS prefixes.

This commit is contained in:
Martin Maroši 2021-10-12 13:23:28 +02:00 committed by Sanne Raymaekers
parent 7e77a3198a
commit d3999cbf87
3 changed files with 16 additions and 5 deletions

View file

@ -7,7 +7,7 @@ import { getBaseName } from '@redhat-cloud-services/frontend-components-utilitie
import logger from 'redux-logger';
const ImageBuilder = () => (
<Provider store={ init({}, process.env.NODE_ENV !== 'production' ? logger : undefined).getStore() }>
<Provider store={ init({}, ...[ process.env.NODE_ENV !== 'production' ? logger : undefined ]).getStore() }>
<Router basename={ getBaseName(window.location.pathname) }>
<App />
</Router>