@mbpockets/shared-ui 0.1.21 → 0.2.0

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/dist/index.mjs CHANGED
@@ -994,7 +994,6 @@ var BaseSearchResultCard = ({
994
994
  result.type === "table" ? /* @__PURE__ */ jsx(Typography4, { variant: "body1", children: (() => {
995
995
  var _a, _b;
996
996
  const full = (_b = (_a = result.fullDescription) != null ? _a : result.description) != null ? _b : "";
997
- if (typeof full !== "string") return "";
998
997
  const text = full || "";
999
998
  return text.length > 200 ? `${text.slice(0, 200).trimEnd()}...` : text;
1000
999
  })() }) : /* @__PURE__ */ jsx(Typography4, { variant: "body1", children: result.description }),
@@ -1199,7 +1198,7 @@ var ResultsContainer = ({
1199
1198
  pagination.totalResults,
1200
1199
  " results"
1201
1200
  ] }) }),
1202
- results.map((result, index) => {
1201
+ results.map((result) => {
1203
1202
  switch (result.type) {
1204
1203
  case "player":
1205
1204
  return /* @__PURE__ */ jsx(