dhre-ui-kit 0.0.382 → 0.0.383

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/lib/index.mjs CHANGED
@@ -360,7 +360,7 @@ const CustomTypography = ({
360
360
  setTranslatedText(res.text);
361
361
  } catch (error) {
362
362
  console.error("Translation error:", error);
363
- setTranslatedText(text);
363
+ setTranslatedText(JSON.stringify(error));
364
364
  }
365
365
  };
366
366
  translateText();