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.js CHANGED
@@ -397,7 +397,7 @@ const CustomTypography = ({
397
397
  setTranslatedText(res.text);
398
398
  } catch (error) {
399
399
  console.error("Translation error:", error);
400
- setTranslatedText(text);
400
+ setTranslatedText(JSON.stringify(error));
401
401
  }
402
402
  };
403
403
  translateText();