@orderingstack/front-hooks 2.1.0 → 2.2.0

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.
package/dist/index.es.js CHANGED
@@ -3077,7 +3077,7 @@ function useCms(id, intervalSeconds = 600, withLocalStorage = true, baseUrl, ten
3077
3077
  }
3078
3078
  }, []);
3079
3079
  useInterval(getCms, intervalSeconds * 1e3);
3080
- return { value: state, isError: error };
3080
+ return { value: state, isError: error, isLoading: !error && !state };
3081
3081
  }
3082
3082
  function useVenueCms(id, intervalSeconds = 600, withLocalStorage = true, baseUrl, tenant, venue) {
3083
3083
  var _a, _b, _c, _d;