fix: wrap symbol in String() for safe conversion

This commit is contained in:
amhsirak
2025-05-20 20:42:00 +05:30
parent 6ebd3e2c07
commit 609b4f32c8

View File

@@ -252,7 +252,10 @@ export const PairDetail = ({ pair, index }: PairDetailProps) => {
sx={{ flexGrow: 1, overflowY: 'auto' }}
key={`tree-view-2-${key}-${index}`}
>
<TreeItem nodeId={`${key}-${index}`} label={`${pair.what[index].action}`}>
<TreeItem
nodeId={`${String(key)}-${index}`}
label={`${String(pair.what[index].action)}`}
>
{
// @ts-ignore
DisplayValueContent(pair.what[key], [key], false)