Skip to content

Commit fafc763

Browse files
committed
ooops 😳
1 parent 2f15ee2 commit fafc763

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/index.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ export const hookRedux = ({ dispatch }) => ({
3737
render: ({ route, status, params, redirect }) => {
3838
dispatch(end({ route, status, params, redirect, isTransition: false }));
3939
},
40-
error: ({ error }) => {
41-
dispatch(error({ error, isTransition: false }));
40+
error: ({ error: err }) => {
41+
dispatch(error({ err, isTransition: false }));
4242
},
4343
cancel: () => {
4444
console.warn('router cancel transition');

0 commit comments

Comments
 (0)