We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 190d122 commit dd2f101Copy full SHA for dd2f101
src/hooks/lazyLoadStates.ts
@@ -61,7 +61,7 @@ const lazyLoadHook: TransitionHookFn = (transition: Transition) => {
61
if (!promise) {
62
promise = hook['_promise'] = hook(transition).then(updateStateRegistry);
63
const cleanup = () => delete hook['_promise'];
64
- promise.catch(cleanup, cleanup);
+ promise.then(cleanup, cleanup);
65
}
66
67
return promise.then(retryOriginalTransition);
0 commit comments