@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.
@@ -1007,7 +1007,6 @@ var BaseSearchResultCard = ({
1007
1007
  result.type === "table" ? /* @__PURE__ */ jsxRuntime.jsx(Typography4__default.default, { variant: "body1", children: (() => {
1008
1008
  var _a, _b;
1009
1009
  const full = (_b = (_a = result.fullDescription) != null ? _a : result.description) != null ? _b : "";
1010
- if (typeof full !== "string") return "";
1011
1010
  const text = full || "";
1012
1011
  return text.length > 200 ? `${text.slice(0, 200).trimEnd()}...` : text;
1013
1012
  })() }) : /* @__PURE__ */ jsxRuntime.jsx(Typography4__default.default, { variant: "body1", children: result.description }),
@@ -1212,7 +1211,7 @@ var ResultsContainer = ({
1212
1211
  pagination.totalResults,
1213
1212
  " results"
1214
1213
  ] }) }),
1215
- results.map((result, index) => {
1214
+ results.map((result) => {
1216
1215
  switch (result.type) {
1217
1216
  case "player":
1218
1217
  return /* @__PURE__ */ jsxRuntime.jsx(