Skip to content

Commit 43ca154

Browse files
author
Ray Schamp
committed
Ensure HashParserHOC has access to redux
1 parent 7277a97 commit 43ca154

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/playground/blocks-only.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const BlocksOnly = props => (
2727
</GUI>
2828
);
2929

30-
const App = HashParserHOC(AppStateHOC(BlocksOnly));
30+
const App = AppStateHOC(HashParserHOC(BlocksOnly));
3131

3232
const appTarget = document.createElement('div');
3333
document.body.appendChild(appTarget);

src/playground/compatibility-testing.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import ReactDOM from 'react-dom';
44
import GUI from '../containers/gui.jsx';
55
import HashParserHOC from '../lib/hash-parser-hoc.jsx';
66
import AppStateHOC from '../lib/app-state-hoc.jsx';
7-
const WrappedGui = HashParserHOC(AppStateHOC(GUI));
7+
const WrappedGui = AppStateHOC(HashParserHOC(GUI));
88

99

1010
const DEFAULT_PROJECT_ID = '10015059';

src/playground/player.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ const ConnectedPlayer = connect(
5858
// the hierarchy of HOC constructor calls clearer here; it has nothing to do with redux's
5959
// ability to compose reducers.
6060
const WrappedPlayer = compose(
61-
HashParserHOC,
6261
AppStateHOC,
62+
HashParserHOC,
6363
TitledHOC
6464
)(ConnectedPlayer);
6565

0 commit comments

Comments
 (0)