Skip to content

Commit db956e9

Browse files
authored
fix 404 error
1 parent 498e47a commit db956e9

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
@@ -46,7 +46,7 @@ export const hookRedux = ({ dispatch, server }) => ({
4646
},
4747
error: ({ error: err, ctx }) => {
4848
const plainCtx = ctx.toObject();
49-
dispatch(error({ err, isTransition: false, ctx: plainCtx }));
49+
dispatch(error({ error: err, ctx: plainCtx }));
5050
},
5151
cancel: () => {
5252
console.warn('router cancel transition');

0 commit comments

Comments
 (0)