Skip to content

Commit e158af8

Browse files
committed
😐
1 parent 87593aa commit e158af8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const reducer = handleActions({
3232
// hook
3333
export const firstHookRedux = ({ dispatch, server }) => {
3434
const hook = {};
35-
if (server === true) {
35+
if (server !== true) {
3636
hook['render'] = ({ route, status, params, redirect }) => {
3737
dispatch(end({ route, status, params, redirect, isTransition: false }));
3838
}

0 commit comments

Comments
 (0)