@bluemarble/bm-components 0.1.2 → 0.1.3
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.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4172,7 +4172,11 @@ function useFormHelper() {
|
|
|
4172
4172
|
|
|
4173
4173
|
// src/components/utils/getObjectValue.ts
|
|
4174
4174
|
function getObjectValue(obj) {
|
|
4175
|
-
|
|
4175
|
+
try {
|
|
4176
|
+
return (prop) => prop.split(".").reduce((o, k) => o[k], obj);
|
|
4177
|
+
} catch (error) {
|
|
4178
|
+
return void 0;
|
|
4179
|
+
}
|
|
4176
4180
|
}
|
|
4177
4181
|
|
|
4178
4182
|
// src/hooks/useFilter.ts
|