@ludo.ninja/components 2.1.14 → 2.1.15

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.
@@ -110,7 +110,7 @@ const CreationCard = ({ creationName, creation, isNeedHeight, likesDynamicInfo,
110
110
  const HideLink = isHide ? react_1.default.Fragment : link_1.default;
111
111
  const getLink = (href) => {
112
112
  if (creation.getItemType() === ItemType_1.LabelKeys.asset) {
113
- return `${ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE]["asset"]}/${href.replace(`${ItemType_1.LabelKeys.asset}/`, "")}`;
113
+ return `${ludoDomains_1.ludoDomains[NEXT_PUBLIC_ENV_VALUE]["asset"]}/${href.replace(`/${ItemType_1.LabelKeys.asset}/`, "")}`;
114
114
  }
115
115
  return href;
116
116
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludo.ninja/components",
3
- "version": "2.1.14",
3
+ "version": "2.1.15",
4
4
  "private": false,
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",