@rotorjs/react 0.10.0 → 0.10.1

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.
Files changed (2) hide show
  1. package/dist/main.js +1 -1
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -186,7 +186,7 @@ function D(e, n = []) {
186
186
  //#endregion
187
187
  //#region lib/useNumberFormatter.ts
188
188
  function O(e) {
189
- let { facts: t } = c(h), i = t[r], a = e?.locale || (typeof i == "string" && i ? i : void 0), o = u(() => new n({ locale: a }), [a]);
189
+ let { facts: t } = c(h), i = t[r]?.value, a = e?.locale || (typeof i == "string" && i ? i : void 0), o = u(() => new n({ locale: a }), [a]);
190
190
  return s((e, t) => o.format(e, t), [o]);
191
191
  }
192
192
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rotorjs/react",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "Rotor",
5
5
  "author": {
6
6
  "name": "Aaron Burmeister"