We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87593aa commit e158af8Copy full SHA for e158af8
src/index.ts
@@ -32,7 +32,7 @@ export const reducer = handleActions({
32
// hook
33
export const firstHookRedux = ({ dispatch, server }) => {
34
const hook = {};
35
- if (server === true) {
+ if (server !== true) {
36
hook['render'] = ({ route, status, params, redirect }) => {
37
dispatch(end({ route, status, params, redirect, isTransition: false }));
38
}
0 commit comments