chore(react/collections/table): fix type error

This commit is contained in:
Elian Doran 2025-09-10 18:48:42 +03:00
parent 3789edf53a
commit cb959e93f2
No known key found for this signature in database

View File

@ -95,10 +95,6 @@ export function buildColumnDefinitions({ info, movableRows, existingColumnData,
editor: "input",
formatter: wrapFormatter(({ cell }) => {
const { noteId, iconClass, colorClass } = cell.getRow().getData();
if (!noteId) {
return "";
}
return <span className={`reference-link ${colorClass}`} data-href={`#root/${noteId}`}>
<Icon icon={iconClass} />{" "}{cell.getValue()}
</span>;