From db91159b66741caf37afd60d56ffe68043434913 Mon Sep 17 00:00:00 2001 From: AyushCoder9 Date: Sat, 28 Mar 2026 03:22:57 +0530 Subject: [PATCH] refactor: remove obsolete TODO in TypeInfo.jsx --- src/components/EditorSidePanel/TypesTab/TypeInfo.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/EditorSidePanel/TypesTab/TypeInfo.jsx b/src/components/EditorSidePanel/TypesTab/TypeInfo.jsx index cfbe75c29..0a63bd504 100644 --- a/src/components/EditorSidePanel/TypesTab/TypeInfo.jsx +++ b/src/components/EditorSidePanel/TypesTab/TypeInfo.jsx @@ -23,8 +23,7 @@ export default function TypeInfo({ index, data }) { const [editField, setEditField] = useState({}); const { t } = useTranslation(); - // TODO: remove indexes, not a valid case after adding id to types - const typeId = data.id ?? index; + const typeId = data.id; return (