Skip to content

Commit 49617e0

Browse files
committed
feat(rx-stateful): set keepErrorOnRefresh to false initially
1 parent 5585b67 commit 49617e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libs/rx-stateful/src/lib/rx-stateful$.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export function rxStateful$<T, E = unknown>(
3333
const error$$ = new Subject<RxStatefulWithError<T, E>>();
3434
const mergedConfig: RxStatefulConfig<T,E> = {
3535
keepValueOnRefresh: true,
36+
keepErrorOnRefresh: false,
3637
...config,
3738
};
3839
const accumulationFn = mergedConfig.accumulationFn ?? defaultAccumulationFn;

0 commit comments

Comments
 (0)