@roqua/quby-frontend 0.12.1 → 0.12.2

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.
@@ -13643,7 +13643,7 @@ const ProgressBar = ({
13643
13643
  };
13644
13644
  const HtmlItem = ({ item }) => {
13645
13645
  const html = useTranslationCurliesFor(`${item.key}`);
13646
- if (!html) throw new Error(`HtmlItem with key ${item.key} has no translation`);
13646
+ if (!html) return null;
13647
13647
  return /* @__PURE__ */ jsx("div", { className: "item", children: /* @__PURE__ */ jsx("div", { className: "prose text", dangerouslySetInnerHTML: { __html: html } }) });
13648
13648
  };
13649
13649
  const MainLabel = ({ question }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roqua/quby-frontend",
3
- "version": "0.12.1",
3
+ "version": "0.12.2",
4
4
  "main": "./dist/quby-frontend.umd.js",
5
5
  "module": "./dist/quby-frontend.es.js",
6
6
  "type": "module",