Skip to content
This repository was archived by the owner on Nov 25, 2021. It is now read-only.

Commit 684adc0

Browse files
authored
fix: avoid calling getActions multiple times (#92)
1 parent c8805f3 commit 684adc0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/hoverifier.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,8 @@ export function createHoverifier<C extends object, D, A>({
691691
return of(null)
692692
}
693693
return concat([LOADING], from(getActions(position)).pipe(catchError(error => [asError(error)])))
694-
})
694+
}),
695+
share()
695696
)
696697

697698
// ACTIONS

0 commit comments

Comments
 (0)