williaster commented on a change in pull request #4839: Dashboard builder: 
fixed 1st round comments
URL: 
https://github.com/apache/incubator-superset/pull/4839#discussion_r182588881
 
 

 ##########
 File path: superset/assets/javascripts/dashboard/index.jsx
 ##########
 @@ -8,37 +8,19 @@ import { initEnhancer } from '../reduxUtils';
 import { appSetup } from '../common';
 import { initJQueryAjax } from '../modules/utils';
 import DashboardContainer from './components/DashboardContainer';
-// import rootReducer, { getInitialState } from './reducers';
-
-import emptyDashboardLayout from './v2/fixtures/emptyDashboardLayout';
-import rootReducer from './v2/reducers/';
+import getInitialState from './reducers/initState';
 
 Review comment:
   nit -- I would call this `getInitialState`, it's not clear it's a function 
(vs an object) and there's no benefit in saving 3 characters by calling it 
`init` instead of `initial`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to