@megha-ui/react 1.2.208 → 1.2.210
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.
|
@@ -221,6 +221,6 @@ export const formatValue = (value, type = "number", locale = "sv-SE", options) =
|
|
|
221
221
|
return formatCurrency(num, locale, currency, options);
|
|
222
222
|
}
|
|
223
223
|
else {
|
|
224
|
-
return value.toString();
|
|
224
|
+
return value === null || value === void 0 ? void 0 : value.toString();
|
|
225
225
|
}
|
|
226
226
|
};
|
package/package.json
CHANGED