Ensure HashParserHOC has access to redux
This commit is contained in:
1 parent
7277a973fc
commit
43ca1542f7
3 files changed
+3
-3
No files matched your search
@@ -27,7 +27,7 @@ const BlocksOnly = props => (
|
||||
</GUI>
|
||||
);
|
||||
|
||||
const App = HashParserHOC(AppStateHOC(BlocksOnly));
|
||||
const App = AppStateHOC(HashParserHOC(BlocksOnly));
|
||||
|
||||
const appTarget = document.createElement('div');
|
||||
document.body.appendChild(appTarget);
|
||||
|
||||
@@ -4,7 +4,7 @@ import ReactDOM from 'react-dom';
|
||||
import GUI from '../containers/gui.jsx';
|
||||
import HashParserHOC from '../lib/hash-parser-hoc.jsx';
|
||||
import AppStateHOC from '../lib/app-state-hoc.jsx';
|
||||
const WrappedGui = HashParserHOC(AppStateHOC(GUI));
|
||||
const WrappedGui = AppStateHOC(HashParserHOC(GUI));
|
||||
|
||||
|
||||
const DEFAULT_PROJECT_ID = '10015059';
|
||||
|
||||
@@ -58,8 +58,8 @@ const ConnectedPlayer = connect(
|
||||
// the hierarchy of HOC constructor calls clearer here; it has nothing to do with redux's
|
||||
// ability to compose reducers.
|
||||
const WrappedPlayer = compose(
|
||||
HashParserHOC,
|
||||
AppStateHOC,
|
||||
HashParserHOC,
|
||||
TitledHOC
|
||||
)(ConnectedPlayer);
|
||||
|
||||
|
||||
Reference in new issue
Block a user