We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d10e1a8 commit 0a9376cCopy full SHA for 0a9376c
util/useLoadingValue.ts
@@ -68,7 +68,7 @@ export default <T>(defaultValue?: T): LoadingValue<T> => {
68
69
return {
70
error: state.error,
71
- loading: state.error,
+ loading: state.loading,
72
reset,
73
setError,
74
setValue,
0 commit comments