@haniffalab/cherita-react 1.0.0-dev.2025-03-27.d22a5d51 → 1.0.0-dev.2025-03-28.876db178

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.
@@ -81,7 +81,7 @@ function ObsColsList(_ref2) {
81
81
  refetchOnMount: false
82
82
  });
83
83
  (0, _react.useEffect)(() => {
84
- if (!isPending && !serverError) {
84
+ if (!isPending && !serverError && fetchedData) {
85
85
  let filteredData = fetchedData;
86
86
 
87
87
  // filter to only obs within an obsGroup
@@ -73,7 +73,7 @@ export function ObsColsList(_ref2) {
73
73
  refetchOnMount: false
74
74
  });
75
75
  useEffect(() => {
76
- if (!isPending && !serverError) {
76
+ if (!isPending && !serverError && fetchedData) {
77
77
  let filteredData = fetchedData;
78
78
 
79
79
  // filter to only obs within an obsGroup
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haniffalab/cherita-react",
3
- "version": "1.0.0-dev.2025-03-27.d22a5d51",
3
+ "version": "1.0.0-dev.2025-03-28.876db178",
4
4
  "author": "Haniffa Lab",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -124,5 +124,5 @@
124
124
  "url": "https://github.com/haniffalab/cherita-react/issues"
125
125
  },
126
126
  "homepage": "https://github.com/haniffalab/cherita-react#readme",
127
- "prereleaseSha": "d22a5d5188c66113d0efad8743f282a86d2db7b4"
127
+ "prereleaseSha": "876db178c8cb5e84b9ea5484239a1341de04b603"
128
128
  }