@credithub/harlan-components 1.59.8 → 1.59.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -206,7 +206,7 @@ export function useQuery(query, data, enabled) {
|
|
|
206
206
|
var _a = useState(null), response = _a[0], setResponse = _a[1];
|
|
207
207
|
var _b = useState(null), error = _b[0], setError = _b[1];
|
|
208
208
|
var _c = useState(false), isLoading = _c[0], setIsLoading = _c[1];
|
|
209
|
-
var _d = useState(
|
|
209
|
+
var _d = useState(true), shouldFetch = _d[0], setShouldFetch = _d[1];
|
|
210
210
|
var loadingProgressRef = useRef(0);
|
|
211
211
|
var memoizedData = useMemo(function () { return data; }, [JSON.stringify(data)]);
|
|
212
212
|
var simulateProgress = useCallback(function () {
|