🐛 Répare l'outil de choix des couleurs

pull/215/head
Laurent Bossavit 2018-05-03 13:56:19 +02:00
parent 3f0502c838
commit 56f96e4dfb
2 changed files with 5 additions and 3 deletions

View File

@ -8,8 +8,10 @@ import reducers from './reducers/reducers'
import { changeThemeColour } from './actions'
import Layout from './containers/Layout'
import { SliderPicker } from 'react-color'
import { rules, rulesFr } from 'Engine/rules'
import lang from './i18n'
let store = createStore(reducers)
let store = createStore(reducers(rulesFr))
@connect(
state => ({ couleur: state.themeColours.colour }),

View File

@ -18,8 +18,8 @@ module.exports = {
//
// le nom "simulateur" est là pour des raisons historiques
//
// simulateur: './source/iframe-script.js',
// 'colour-chooser': ['@babel/polyfill', './source/entry-colour-chooser.js']
// ,simulateur: './source/iframe-script.js',
// ,colour-chooser': ['@babel/polyfill', './source/entry-colour-chooser.js']
},
plugins: [
new webpack.EnvironmentPlugin({ NODE_ENV: 'development' }),