mirror of
				https://github.com/reduxjs/redux-devtools.git
				synced 2025-11-01 00:17:48 +03:00 
			
		
		
		
	Fix lint
This commit is contained in:
		
							parent
							
								
									8c68b9519c
								
							
						
					
					
						commit
						0c3a1c6f7a
					
				|  | @ -1,5 +1,4 @@ | |||
| import React, { Component } from 'react'; | ||||
| import { render } from 'react-dom'; | ||||
| import { Provider } from 'react-redux'; | ||||
| import CounterApp from './CounterApp'; | ||||
| import Dock from 'react-dock'; | ||||
|  |  | |||
|  | @ -2,4 +2,4 @@ if (process.env.NODE_ENV === 'production') { | |||
|   module.exports = require('./Root.prod'); | ||||
| } else { | ||||
|   module.exports = require('./Root.dev'); | ||||
| } | ||||
| } | ||||
|  |  | |||
|  | @ -1,5 +1,4 @@ | |||
| import React, { Component } from 'react'; | ||||
| import { render } from 'react-dom'; | ||||
| import { Provider } from 'react-redux'; | ||||
| import CounterApp from './CounterApp'; | ||||
| 
 | ||||
|  |  | |||
|  | @ -5,4 +5,4 @@ const rootReducer = combineReducers({ | |||
|   counter | ||||
| }); | ||||
| 
 | ||||
| export default rootReducer; | ||||
| export default rootReducer; | ||||
|  |  | |||
|  | @ -10,7 +10,7 @@ const finalCreateStore = compose( | |||
| )(createStore); | ||||
| 
 | ||||
| export default function configureStore(initialState) { | ||||
|   const store = finalCreateStore(rootReducer); | ||||
|   const store = finalCreateStore(rootReducer, initialState); | ||||
| 
 | ||||
|   if (module.hot) { | ||||
|     module.hot.accept('../reducers', () => | ||||
|  |  | |||
|  | @ -2,4 +2,4 @@ if (process.env.NODE_ENV === 'development') { | |||
|   module.exports = require('./configureStore.prod'); | ||||
| } else { | ||||
|   module.exports = require('./configureStore.dev'); | ||||
| } | ||||
| } | ||||
|  |  | |||
|  | @ -7,5 +7,5 @@ const finalCreateStore = compose( | |||
| )(createStore); | ||||
| 
 | ||||
| export default function configureStore(initialState) { | ||||
|   return finalCreateStore(rootReducer); | ||||
|   return finalCreateStore(rootReducer, initialState); | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user