Files
klz-cables.com/.pnpm-store/v10/files/59/ee21d41736c788b5352c810f82105271509a1519da16061f3806c3e7b49d625b2666bb1207a7a9518f43070c8f3652cb2a57140af157de0d7efc86cb3aca99
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

51 lines
1.1 KiB
Plaintext

'use client';
import { c as _c } from "react/compiler-runtime";
import { jsx as _jsx } from "react/jsx-runtime";
import React from 'react';
import { useTranslation } from '../../../../../providers/Translation/index.js';
import './index.scss';
import { stringifyTruncated } from '../../../../../utilities/stringifyTruncated.js';
export const JSONCell = t0 => {
const $ = _c(4);
const {
cellData
} = t0;
const {
t
} = useTranslation();
;
try {
let t2;
if ($[0] !== cellData) {
const cellDataString = stringifyTruncated(cellData, 100);
t2 = _jsx("code", {
className: "json-cell",
children: _jsx("span", {
children: cellDataString
})
});
$[0] = cellData;
$[1] = t2;
} else {
t2 = $[1];
}
return t2;
} catch (t1) {
let t2;
if ($[2] !== t) {
t2 = _jsx("code", {
className: "json-cell",
children: _jsx("span", {
children: t("general:error")
})
});
$[2] = t;
$[3] = t2;
} else {
t2 = $[3];
}
return t2;
}
};
//# sourceMappingURL=index.js.map