Skip to content

refactor: remove obsolete TODO in TypeInfo.jsx#973

Open
AyushCoder9 wants to merge 1 commit intodrawdb-io:mainfrom
AyushCoder9:cleanup/todo-cleanup
Open

refactor: remove obsolete TODO in TypeInfo.jsx#973
AyushCoder9 wants to merge 1 commit intodrawdb-io:mainfrom
AyushCoder9:cleanup/todo-cleanup

Conversation

@AyushCoder9
Copy link
Copy Markdown
Contributor

Description

This PR resolves an obsolete TODO in the TypeInfo component related to how custom type IDs are handled.

Changes

  • Removed the TODO: remove indexes... comment in src/components/EditorSidePanel/TypesTab/TypeInfo.jsx.
  • Simplified the typeId assignment to use data.id directly, as IDs are now reliably generated for all types.

Rationale

Cleans up legacy code patterns and addresses developer notes that have been fulfilled by previous architecture changes.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 27, 2026

@AyushCoder9 is attempting to deploy a commit to the dottle's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant