@bunnyapp/components 1.0.24 → 1.0.25
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/cjs/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -4808,7 +4808,7 @@ var Subscriptions = function (_a) {
|
|
|
4808
4808
|
var _d = reactQuery.useQuery({
|
|
4809
4809
|
queryKey: common.QueryKeyFactory.default.createTableKey("subscriptions"),
|
|
4810
4810
|
queryFn: function () { return getSubscriptions({ entityId: entityId, token: token, apiHost: apiHost }); },
|
|
4811
|
-
enabled:
|
|
4811
|
+
enabled: Boolean(entityId),
|
|
4812
4812
|
}), rawSubscriptions = _d.data, subscriptionsAreLoading = _d.isLoading;
|
|
4813
4813
|
var _e = reactQuery.useQuery({
|
|
4814
4814
|
queryKey: common.QueryKeyFactory.default.planChangeOptionsKey(),
|
package/dist/esm/index.js
CHANGED
|
@@ -4779,7 +4779,7 @@ var Subscriptions = function (_a) {
|
|
|
4779
4779
|
var _d = useQuery({
|
|
4780
4780
|
queryKey: QueryKeyFactory.default.createTableKey("subscriptions"),
|
|
4781
4781
|
queryFn: function () { return getSubscriptions({ entityId: entityId, token: token, apiHost: apiHost }); },
|
|
4782
|
-
enabled:
|
|
4782
|
+
enabled: Boolean(entityId),
|
|
4783
4783
|
}), rawSubscriptions = _d.data, subscriptionsAreLoading = _d.isLoading;
|
|
4784
4784
|
var _e = useQuery({
|
|
4785
4785
|
queryKey: QueryKeyFactory.default.planChangeOptionsKey(),
|
package/package.json
CHANGED